/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | initparse.c | 18 gethostname(thishost, sizeof(thishost));
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | gethostname.c | 47 * interface is identical to gethostname(2).) 51 gethostname(char *name, int namelen) function
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | gethostname.c | 31 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 D | t_sethostname.c | 77 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 D | findconfig.c | 30 if (gethostname(hostname, BUFSIZ) >= 0) {
|
/freebsd-11-stable/lib/libc/rpc/ |
H A D | netname.c | 133 (void) gethostname(hostname, sizeof(hostname));
|
/freebsd-11-stable/lib/libutil/tests/ |
H A D | trimdomain-nodomain_test.c | 46 * Evily override gethostname(3) so trimdomain always gets the same result. 51 gethostname(char *name, size_t namelen) function
|
H A D | trimdomain_test.c | 46 * 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 D | trimdomain.c | 65 if (gethostname(domain, sizeof(domain) - 1) == 0 &&
|
/freebsd-11-stable/usr.bin/talk/ |
H A D | get_names.c | 80 gethostname(hostname, sizeof (hostname));
|
/freebsd-11-stable/bin/hostname/ |
H A D | hostname.c | 91 if (gethostname(hostname, (int)sizeof(hostname))) 92 err(1, "gethostname");
|
/freebsd-11-stable/contrib/openpam/lib/libpam/ |
H A D | pam_start.c | 79 if (gethostname(hostname, sizeof hostname) != 0)
|
/freebsd-11-stable/sbin/iscontrol/ |
H A D | iscontrol.c | 244 if(gethostname(hostname, sizeof(hostname)) == 0) 250 if(gethostname(hostname, sizeof(hostname)) == 0)
|
/freebsd-11-stable/libexec/talkd/ |
H A D | talkd.c | 94 if (gethostname(hostname, sizeof(hostname) - 1) < 0) { 95 syslog(LOG_ERR, "gethostname: %m");
|
/freebsd-11-stable/usr.sbin/lpr/lprm/ |
H A D | lprm.c | 99 gethostname(local_host, sizeof(local_host));
|
/freebsd-11-stable/usr.sbin/timed/timedc/ |
H A D | cmds.c | 178 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 D | wire-test.c | 62 if (gethostname(hostname, sizeof(hostname)) < 0) {
|
/freebsd-11-stable/usr.bin/passwd/ |
H A D | passwd.c | 147 gethostname(hostname, sizeof hostname);
|
/freebsd-11-stable/contrib/tcsh/ |
H A D | dotlock.c | 58 (void)gethostname(hostname, sizeof(hostname));
|
/freebsd-11-stable/lib/libpam/modules/pam_login_access/ |
H A D | pam_login_access.c | 93 gethostname(hostname, sizeof hostname);
|
/freebsd-11-stable/contrib/telnet/libtelnet/ |
H A D | krb4encpwd.c | 160 gethostname(hostname, sizeof(hostname)); 211 gethostname(lhostname, sizeof(lhostname)); 303 gethostname(hostname, sizeof(hostname));
|
/freebsd-11-stable/contrib/ntp/include/ |
H A D | ntp_machine.h | 265 extern int gethostname(char *, int);
|
/freebsd-11-stable/contrib/apr-util/crypto/ |
H A D | getuuid.c | 29 #include <unistd.h> /* for getpid, gethostname */ 90 gethostname(r.hostname, 256);
|
/freebsd-11-stable/contrib/smbfs/lib/smb/ |
H A D | nb_net.c | 59 if (gethostname(buf, sizeof(buf)) != 0)
|
/freebsd-11-stable/crypto/heimdal/appl/login/ |
H A D | utmp_login.c | 54 gethostname (local_hostname, sizeof(local_hostname));
|