Searched refs:gethostname (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/bionic/ |
D | gethostname.cpp | 34 int gethostname(char* buf, size_t n) { in gethostname() function
|
/bionic/libc/include/ |
D | unistd.h | 273 int gethostname(char* __buf, size_t __buf_size);
|
/bionic/tests/ |
D | unistd_test.cpp | 732 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/ |
D | unistd_h.c | 327 FUNCTION(gethostname, int (*f)(char*, size_t)); in unistd_h()
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 450 gethostname(buf, sizeof(statp->defdname) - 1) == 0 && in __res_vinit()
|
/bionic/libc/tools/ |
D | posix-2013.txt | 342 gethostname
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 446 gethostname;
|
/bionic/libc/ |
D | libc.map.txt | 446 gethostname;
|
D | Android.bp | 1050 "bionic/gethostname.cpp",
|