Searched refs:gethostname (Results 1 - 25 of 169) sorted by relevance

1234567

/freebsd-11-stable/contrib/ipfilter/lib/
H A Dinitparse.c18 gethostname(thishost, sizeof(thishost));
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgethostname.c47 * interface is identical to gethostname(2).)
51 gethostname(char *name, int namelen) function
/freebsd-11-stable/lib/libc/gen/
H A Dgethostname.c31 static char sccsid[] = "@(#)gethostname.c 8.1 (Berkeley) 6/4/93";
43 gethostname(char *name, size_t namelen) function
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_sethostname.c77 ATF_REQUIRE(gethostname(name, sizeof(name) - 1) == 0);
80 ATF_REQUIRE(gethostname(name, sizeof(name)) == 0);
143 ATF_REQUIRE(gethostname(host, sizeof(host)) == 0);
/freebsd-11-stable/contrib/ntp/libntp/
H A Dfindconfig.c30 if (gethostname(hostname, BUFSIZ) >= 0) {
/freebsd-11-stable/lib/libc/rpc/
H A Dnetname.c133 (void) gethostname(hostname, sizeof(hostname));
/freebsd-11-stable/lib/libutil/tests/
H A Dtrimdomain-nodomain_test.c46 * Evily override gethostname(3) so trimdomain always gets the same result.
51 gethostname(char *name, size_t namelen) function
H A Dtrimdomain_test.c46 * Evily override gethostname(3) so trimdomain always gets the same result.
51 gethostname(char *name, size_t namelen) function
/freebsd-11-stable/lib/libutil/
H A Dtrimdomain.c65 if (gethostname(domain, sizeof(domain) - 1) == 0 &&
/freebsd-11-stable/usr.bin/talk/
H A Dget_names.c80 gethostname(hostname, sizeof (hostname));
/freebsd-11-stable/bin/hostname/
H A Dhostname.c91 if (gethostname(hostname, (int)sizeof(hostname)))
92 err(1, "gethostname");
/freebsd-11-stable/contrib/openpam/lib/libpam/
H A Dpam_start.c79 if (gethostname(hostname, sizeof hostname) != 0)
/freebsd-11-stable/sbin/iscontrol/
H A Discontrol.c244 if(gethostname(hostname, sizeof(hostname)) == 0)
250 if(gethostname(hostname, sizeof(hostname)) == 0)
/freebsd-11-stable/libexec/talkd/
H A Dtalkd.c94 if (gethostname(hostname, sizeof(hostname) - 1) < 0) {
95 syslog(LOG_ERR, "gethostname: %m");
/freebsd-11-stable/usr.sbin/lpr/lprm/
H A Dlprm.c99 gethostname(local_host, sizeof(local_host));
/freebsd-11-stable/usr.sbin/timed/timedc/
H A Dcmds.c178 if (gethostname(myname, sizeof(myname) - 1) < 0)
179 err(1, "gethostname");
287 if (gethostname(myname, sizeof(myname) - 1) < 0)
288 err(1, "gethostname");
400 if (gethostname(myname, sizeof(myname) - 1) < 0)
401 err(1, "gethostname");
442 if (gethostname(myname, sizeof(myname) - 1) < 0)
443 err(1, "gethostname");
/freebsd-11-stable/contrib/amd/wire-test/
H A Dwire-test.c62 if (gethostname(hostname, sizeof(hostname)) < 0) {
/freebsd-11-stable/usr.bin/passwd/
H A Dpasswd.c147 gethostname(hostname, sizeof hostname);
/freebsd-11-stable/contrib/tcsh/
H A Ddotlock.c58 (void)gethostname(hostname, sizeof(hostname));
/freebsd-11-stable/lib/libpam/modules/pam_login_access/
H A Dpam_login_access.c93 gethostname(hostname, sizeof hostname);
/freebsd-11-stable/contrib/telnet/libtelnet/
H A Dkrb4encpwd.c160 gethostname(hostname, sizeof(hostname));
211 gethostname(lhostname, sizeof(lhostname));
303 gethostname(hostname, sizeof(hostname));
/freebsd-11-stable/contrib/ntp/include/
H A Dntp_machine.h265 extern int gethostname(char *, int);
/freebsd-11-stable/contrib/apr-util/crypto/
H A Dgetuuid.c29 #include <unistd.h> /* for getpid, gethostname */
90 gethostname(r.hostname, 256);
/freebsd-11-stable/contrib/smbfs/lib/smb/
H A Dnb_net.c59 if (gethostname(buf, sizeof(buf)) != 0)
/freebsd-11-stable/crypto/heimdal/appl/login/
H A Dutmp_login.c54 gethostname (local_hostname, sizeof(local_hostname));

Completed in 247 milliseconds

1234567