Home
last modified time | relevance | path

Searched refs:gethostname (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/bionic/
Dgethostname.cpp34 int gethostname(char* buf, size_t n) { in gethostname() function
/bionic/libc/include/
Dunistd.h273 int gethostname(char* __buf, size_t __buf_size);
/bionic/tests/
Dunistd_test.cpp732 TEST(UNISTD_TEST, gethostname) { in TEST() argument
737 ASSERT_EQ(0, gethostname(hostname, HOST_NAME_MAX)); in TEST()
741 ASSERT_EQ(0, gethostname(hostname, strlen(hostname) + 1)); in TEST()
751 ASSERT_EQ(-1, gethostname(hostname, strlen(hostname))); in TEST()
/bionic/tests/headers/posix/
Dunistd_h.c327 FUNCTION(gethostname, int (*f)(char*, size_t)); in unistd_h()
/bionic/libc/dns/resolv/
Dres_init.c450 gethostname(buf, sizeof(statp->defdname) - 1) == 0 && in __res_vinit()
/bionic/libc/tools/
Dposix-2013.txt342 gethostname
/bionic/tools/versioner/platforms/
Dlibc.map.txt446 gethostname;
/bionic/libc/
Dlibc.map.txt446 gethostname;
DAndroid.bp1050 "bionic/gethostname.cpp",