Searched refs:gethostname (Results 1 – 13 of 13) sorted by relevance
/bionic/libc/bionic/ |
D | gethostname.cpp | 34 int gethostname(char* buf, size_t n) { in gethostname() function
|
/bionic/tests/ |
D | unistd_test.cpp | 637 TEST(UNISTD_TEST, gethostname) { in TEST() argument 642 ASSERT_EQ(0, gethostname(hostname, HOST_NAME_MAX)); in TEST() 646 ASSERT_EQ(0, gethostname(hostname, strlen(hostname) + 1)); in TEST() 656 ASSERT_EQ(-1, gethostname(hostname, strlen(hostname))); in TEST()
|
/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/libc/include/ |
D | unistd.h | 204 int gethostname(char* __name, size_t __len);
|
/bionic/libc/ |
D | libc.mips64.map | 373 gethostname;
|
D | libc.x86_64.map | 373 gethostname;
|
D | libc.arm64.map | 373 gethostname;
|
D | libc.x86.map | 439 gethostname;
|
D | libc.mips.map | 441 gethostname;
|
D | libc.arm.map | 443 gethostname;
|
D | libc.map.txt | 445 gethostname;
|
D | Android.bp | 1299 "bionic/gethostname.cpp",
|