Home
last modified time | relevance | path

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

12345678

/freebsd-13.1/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-13.1/contrib/telnet/libtelnet/
H A Dkrb4encpwd.c160 gethostname(hostname, sizeof(hostname));
211 gethostname(lhostname, sizeof(lhostname));
303 gethostname(hostname, sizeof(hostname));
/freebsd-13.1/sbin/ipf/libipf/
H A Dinitparse.c18 gethostname(thishost, sizeof(thishost)); in initparse()
/freebsd-13.1/sbin/iscontrol/
H A Discontrol.c244 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 Dgethostname.c43 gethostname(char *name, size_t namelen) in gethostname() function
/freebsd-13.1/crypto/heimdal/lib/roken/
H A Dgethostname.c51 gethostname(char *name, int namelen) in gethostname() function
/freebsd-13.1/contrib/ntp/libntp/
H A Dfindconfig.c30 if (gethostname(hostname, BUFSIZ) >= 0) { in FindConfig()
/freebsd-13.1/bin/hostname/
H A Dhostname.c94 if (gethostname(hostname, (int)sizeof(hostname))) in main()
/freebsd-13.1/lib/libutil/tests/
H A Dtrimdomain_test.c51 gethostname(char *name, size_t namelen) in gethostname() function
H A Dtrimdomain-nodomain_test.c51 gethostname(char *name, size_t namelen) in gethostname() function
/freebsd-13.1/contrib/openpam/lib/libpam/
H A Dpam_start.c79 if (gethostname(hostname, sizeof hostname) != 0) in pam_start()
/freebsd-13.1/lib/libutil/
H A Dtrimdomain.c67 if (gethostname(domain, sizeof(domain) - 1) == 0 && in trimdomain()
/freebsd-13.1/lib/libc/rpc/
H A Dnetname.c135 (void) gethostname(hostname, sizeof(hostname)); in host2netname()
/freebsd-13.1/usr.bin/talk/
H A Dget_names.c82 gethostname(hostname, sizeof (hostname)); in get_names()
/freebsd-13.1/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-13.1/usr.sbin/lpr/lprm/
H A Dlprm.c101 gethostname(local_host, sizeof(local_host)); in main()
/freebsd-13.1/libexec/talkd/
H A Dtalkd.c96 if (gethostname(hostname, sizeof(hostname) - 1) < 0) { in main()
/freebsd-13.1/lib/libpam/modules/pam_login_access/
H A Dpam_login_access.c95 gethostname(hostname, sizeof hostname); in pam_sm_acct_mgmt()
/freebsd-13.1/usr.bin/passwd/
H A Dpasswd.c147 gethostname(hostname, sizeof hostname); in main()
/freebsd-13.1/contrib/apr/network_io/unix/
H A Dsockopt.c392 if (gethostname(buf, len) == 0) {
394 if (gethostname(buf, len) != 0) {
/freebsd-13.1/tools/regression/rpcsec_gss/
H A Drpctest.c100 gethostname(hostname, sizeof(hostname)); in test_client()
298 gethostname(hostname, sizeof(hostname));; in test_server()
/freebsd-13.1/contrib/smbfs/lib/smb/
H A Dnb_net.c59 if (gethostname(buf, sizeof(buf)) != 0) in nb_getlocalname()
/freebsd-13.1/contrib/apr-util/crypto/
H A Dgetuuid.c90 gethostname(r.hostname, 256); in get_random_info()
/freebsd-13.1/usr.sbin/lpr/lpq/
H A Dlpq.c95 if (gethostname(local_host, sizeof(local_host))) in main()

12345678