| /freebsd-13.1/contrib/netbsd-tests/lib/libc/gen/ |
| H A D | t_sethostname.c | 77 ATF_REQUIRE(gethostname(name, sizeof(name) - 1) == 0); in ATF_TC_BODY() 80 ATF_REQUIRE(gethostname(name, sizeof(name)) == 0); in ATF_TC_BODY() 143 ATF_REQUIRE(gethostname(host, sizeof(host)) == 0); in ATF_TP_ADD_TCS()
|
| /freebsd-13.1/contrib/telnet/libtelnet/ |
| H A D | krb4encpwd.c | 160 gethostname(hostname, sizeof(hostname)); 211 gethostname(lhostname, sizeof(lhostname)); 303 gethostname(hostname, sizeof(hostname));
|
| /freebsd-13.1/sbin/ipf/libipf/ |
| H A D | initparse.c | 18 gethostname(thishost, sizeof(thishost)); in initparse()
|
| /freebsd-13.1/sbin/iscontrol/ |
| H A D | iscontrol.c | 244 if(gethostname(hostname, sizeof(hostname)) == 0) in main() 250 if(gethostname(hostname, sizeof(hostname)) == 0) in main()
|
| /freebsd-13.1/lib/libc/gen/ |
| H A D | gethostname.c | 43 gethostname(char *name, size_t namelen) in gethostname() function
|
| /freebsd-13.1/crypto/heimdal/lib/roken/ |
| H A D | gethostname.c | 51 gethostname(char *name, int namelen) in gethostname() function
|
| /freebsd-13.1/contrib/ntp/libntp/ |
| H A D | findconfig.c | 30 if (gethostname(hostname, BUFSIZ) >= 0) { in FindConfig()
|
| /freebsd-13.1/bin/hostname/ |
| H A D | hostname.c | 94 if (gethostname(hostname, (int)sizeof(hostname))) in main()
|
| /freebsd-13.1/lib/libutil/tests/ |
| H A D | trimdomain_test.c | 51 gethostname(char *name, size_t namelen) in gethostname() function
|
| H A D | trimdomain-nodomain_test.c | 51 gethostname(char *name, size_t namelen) in gethostname() function
|
| /freebsd-13.1/contrib/openpam/lib/libpam/ |
| H A D | pam_start.c | 79 if (gethostname(hostname, sizeof hostname) != 0) in pam_start()
|
| /freebsd-13.1/lib/libutil/ |
| H A D | trimdomain.c | 67 if (gethostname(domain, sizeof(domain) - 1) == 0 && in trimdomain()
|
| /freebsd-13.1/lib/libc/rpc/ |
| H A D | netname.c | 135 (void) gethostname(hostname, sizeof(hostname)); in host2netname()
|
| /freebsd-13.1/usr.bin/talk/ |
| H A D | get_names.c | 82 gethostname(hostname, sizeof (hostname)); in get_names()
|
| /freebsd-13.1/contrib/tcsh/ |
| H A D | tc.decls.h | 198 # undef gethostname 199 # define gethostname(a, b) xgethostname(a, b) macro
|
| H A D | dotlock.c | 58 (void)gethostname(hostname, sizeof(hostname)); in create_exclusive()
|
| /freebsd-13.1/usr.sbin/lpr/lprm/ |
| H A D | lprm.c | 101 gethostname(local_host, sizeof(local_host)); in main()
|
| /freebsd-13.1/libexec/talkd/ |
| H A D | talkd.c | 96 if (gethostname(hostname, sizeof(hostname) - 1) < 0) { in main()
|
| /freebsd-13.1/lib/libpam/modules/pam_login_access/ |
| H A D | pam_login_access.c | 95 gethostname(hostname, sizeof hostname); in pam_sm_acct_mgmt()
|
| /freebsd-13.1/usr.bin/passwd/ |
| H A D | passwd.c | 147 gethostname(hostname, sizeof hostname); in main()
|
| /freebsd-13.1/contrib/apr/network_io/unix/ |
| H A D | sockopt.c | 392 if (gethostname(buf, len) == 0) { 394 if (gethostname(buf, len) != 0) {
|
| /freebsd-13.1/tools/regression/rpcsec_gss/ |
| H A D | rpctest.c | 100 gethostname(hostname, sizeof(hostname)); in test_client() 298 gethostname(hostname, sizeof(hostname));; in test_server()
|
| /freebsd-13.1/contrib/smbfs/lib/smb/ |
| H A D | nb_net.c | 59 if (gethostname(buf, sizeof(buf)) != 0) in nb_getlocalname()
|
| /freebsd-13.1/contrib/apr-util/crypto/ |
| H A D | getuuid.c | 90 gethostname(r.hostname, 256); in get_random_info()
|
| /freebsd-13.1/usr.sbin/lpr/lpq/ |
| H A D | lpq.c | 95 if (gethostname(local_host, sizeof(local_host))) in main()
|