[go: nahoru, domu]

Searched refs:gethostbyname_r (Results 1 - 3 of 3) sorted by relevance

/bionic/tests/
H A Dnetdb_test.cpp195 TEST(netdb, gethostbyname_r) {
200 int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err);
210 result = gethostbyname_r("localhost", &hent2, buf2, sizeof(buf2), &hp2, &err);
273 int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err);
/bionic/libc/include/
H A Dnetdb.h211 int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *);
/bionic/libc/dns/net/
H A Dgethnamaddr.c509 /* The prototype of gethostbyname_r is from glibc, not that in netbsd. */
511 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, function
1575 gethostbyname_r(name, &rs->host, rs->hostbuf, sizeof(rs->hostbuf), &result, &h_errno);

Completed in 236 milliseconds