Home
last modified time | relevance | path

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

1234567

/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_sethostname.c77 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/contrib/telnet/libtelnet/
H A Dkrb4encpwd.c156 gethostname(hostname, sizeof(hostname));
207 gethostname(lhostname, sizeof(lhostname));
299 gethostname(hostname, sizeof(hostname));
/freebsd/sbin/ipf/libipf/
H A Dinitparse.c17 gethostname(thishost, sizeof(thishost)); in initparse()
/freebsd/lib/libc/gen/
H A Dgethostname.c39 gethostname(char *name, size_t namelen) in gethostname() function
H A DMakefile.inc75 gethostname.c \
241 gethostname.3 \
410 MLINKS+=gethostname.3 sethostname.3
/freebsd/crypto/heimdal/lib/roken/
H A Dgethostname.c51 gethostname(char *name, int namelen) in gethostname() function
/freebsd/bin/hostname/
H A Dhostname.c80 if (gethostname(hostname, (int)sizeof(hostname))) in main()
/freebsd/contrib/ntp/libntp/
H A Dfindconfig.c30 if (gethostname(hostname, BUFSIZ) >= 0) { in FindConfig()
/freebsd/lib/libutil/tests/
H A Dtrimdomain-nodomain_test.c48 gethostname(char *name, size_t namelen) in gethostname() function
H A Dtrimdomain_test.c48 gethostname(char *name, size_t namelen) in gethostname() function
/freebsd/contrib/openpam/lib/libpam/
H A Dpam_start.c77 if (gethostname(hostname, sizeof hostname) != 0) in pam_start()
/freebsd/lib/libutil/
H A Dtrimdomain.c64 if (gethostname(domain, sizeof(domain) - 1) == 0 && in trimdomain()
/freebsd/lib/libc/rpc/
H A Dnetname.c129 (void) gethostname(hostname, sizeof(hostname)); in host2netname()
/freebsd/usr.bin/talk/
H A Dget_names.c76 gethostname(hostname, sizeof (hostname)); in get_names()
/freebsd/contrib/tcsh/
H A Dtc.decls.h198 # undef gethostname
199 # define gethostname(a, b) xgethostname(a, b) macro
H A Ddotlock.c58 (void)gethostname(hostname, sizeof(hostname)); in create_exclusive()
/freebsd/usr.sbin/lpr/lprm/
H A Dlprm.c87 gethostname(local_host, sizeof(local_host)); in main()
/freebsd/libexec/talkd/
H A Dtalkd.c82 if (gethostname(hostname, sizeof(hostname) - 1) < 0) { in main()
/freebsd/lib/libpam/modules/pam_login_access/
H A Dpam_login_access.c93 gethostname(hostname, sizeof hostname); in pam_sm_acct_mgmt()
/freebsd/usr.bin/passwd/
H A Dpasswd.c144 gethostname(hostname, sizeof hostname); in main()
/freebsd/tools/regression/rpcsec_gss/
H A Drpctest.c98 gethostname(hostname, sizeof(hostname)); in test_client()
296 gethostname(hostname, sizeof(hostname));; in test_server()
/freebsd/contrib/smbfs/lib/smb/
H A Dnb_net.c59 if (gethostname(buf, sizeof(buf)) != 0) in nb_getlocalname()
/freebsd/usr.sbin/lpr/lpq/
H A Dlpq.c81 if (gethostname(local_host, sizeof(local_host))) in main()
/freebsd/usr.bin/rwall/
H A Drwall.c136 gethostname(hostname, sizeof(hostname)); in makemsg()
/freebsd/contrib/openpam/bin/su/
H A Dsu.c101 gethostname(hostname, sizeof(hostname)); in main()

1234567