Symbol: gethostname
usr/src/boot/include/unistd.h
408
int gethostname(char *, size_t);
usr/src/cmd/bhyve/common/smbiostbl.c
694
if (gethostname(hostname, sizeof(hostname)))
usr/src/cmd/bnu/uucp.h
651
int gethostname();
usr/src/cmd/bnu/uucpname.c
59
gethostname(NameBuf, MAXBASENAME);
usr/src/cmd/cmd-inet/usr.bin/pppd/main.c
324
if (gethostname(hostname, MAXHOSTNAMELEN+1) < 0 ) {
usr/src/cmd/cmd-inet/usr.bin/pppd/options.c
1618
(void) gethostname(hostname, MAXHOSTNAMELEN+1);
usr/src/cmd/cmd-inet/usr.bin/rdist/main.c
124
gethostname(host, sizeof (host));
usr/src/cmd/cmd-inet/usr.bin/telnet/commands.c
1839
if (gethostname(hbuf, MAXHOSTNAMELEN) == -1) {
usr/src/cmd/cmd-inet/usr.bin/telnet/telnet.c
2213
(void) gethostname(local_host, sizeof (local_host));
usr/src/cmd/cmd-inet/usr.sbin/in.comsat.c
170
(void) gethostname(hostname, sizeof (hostname));
usr/src/cmd/cmd-inet/usr.sbin/in.routed/if.c
1630
if (gethostname(myname, MAXHOSTNAMELEN) == -1) {
usr/src/cmd/cmd-inet/usr.sbin/in.rwhod.c
215
if (gethostname(myname, sizeof (myname) - 1) < 0) {
usr/src/cmd/cmd-inet/usr.sbin/route.c
841
if (gethostname(domain, MAXHOSTNAMELEN) == 0 &&
usr/src/cmd/cmd-inet/usr.sbin/traceroute/traceroute.c
2011
if (gethostname(domain, MAXHOSTNAMELEN) == 0 &&
usr/src/cmd/csh/sh.tchar.c
818
if (gethostname((char *)chbuf, sizeof (chbuf)) != 0) {
usr/src/cmd/dlutil/dlsend.c
109
if (gethostname(host, sizeof (host)) != 0) {
usr/src/cmd/fm/notify/smtp-notify/common/smtp-notify.c
881
(void) gethostname(hostname, MAXHOSTNAMELEN + 1);
usr/src/cmd/fm/notify/snmp-notify/common/snmp-notify.c
648
(void) gethostname(hostname, MAXHOSTNAMELEN + 1);
usr/src/cmd/fs.d/nfs/dfmounts/dfmounts.c
96
if (gethostname(hostbuf, sizeof (hostbuf)) < 0) {
usr/src/cmd/fs.d/nfs/dfshares/dfshares.c
84
if (gethostname(hostbuf, sizeof (hostbuf)) < 0) {
usr/src/cmd/fs.d/nfs/mountd/mountd.c
567
if (gethostname(hostbuf, sizeof (hostbuf)) < 0) {
usr/src/cmd/fs.d/nfs/nfs4cbd/nfs4cbd.c
245
gethostname(me, MAXHOSTNAMELEN);
usr/src/cmd/fs.d/nfs/nfslog/nfslog_elf.c
1626
(void) gethostname(hostname, MAXHOSTNAMELEN);
usr/src/cmd/fs.d/nfs/showmount/showmount.c
114
if (gethostname(hostbuf, sizeof (hostbuf)) < 0) {
usr/src/cmd/fs.d/nfs/statd/sm_svc.c
552
(void) gethostname(hostname, MAXHOSTNAMELEN);
usr/src/cmd/hostname/hostname.c
93
if (gethostname(c_hostname, sizeof (c_hostname)) < 0) {
usr/src/cmd/ipf/lib/initparse.c
16
gethostname(thishost, sizeof(thishost));
usr/src/cmd/ipf/tools/ipfstat.c
1203
gethostname(hostnm, sizeof(hostnm) - 1);
usr/src/cmd/keyserv/newkey.c
156
if (gethostname(host_pname, NIS_MAXNAMELEN)
usr/src/cmd/keyserv/newkey.c
269
if (gethostname(hostname, MAXHOSTNAMELEN) < 0) {
usr/src/cmd/krb5/kadmin/kdcmgr/klookup.c
69
if (gethostname(name, MAXHOSTNAMELEN) != 0)
usr/src/cmd/krb5/kwarn/kwarnd.c
125
(void) gethostname(myhostname, sizeof (myhostname));
usr/src/cmd/lp/lib/papi/job.c
192
if (gethostname(host, sizeof (host)) == 0)
usr/src/cmd/lp/lib/papi/job.c
270
if (gethostname(host,
usr/src/cmd/make/bin/parallel.cc
133
(void) gethostname(local_host, MAXNAMELEN);
usr/src/cmd/ndmpd/ndmp/ndmpd_comm.c
1468
if (gethostname(s, sizeof (s)) == -1)
usr/src/cmd/ndmpd/ndmp/ndmpd_config.c
116
(void) gethostname(buf, sizeof (buf));
usr/src/cmd/ndmpd/ndmp/ndmpd_config.c
299
(void) gethostname(buf, sizeof (buf));
usr/src/cmd/print/bsd-sysv-commands/common.c
580
if (gethostname(buf, sizeof (buf)) == 0)
usr/src/cmd/rpcsvc/rwall.c
94
(void) gethostname(hostname, sizeof (hostname));
usr/src/cmd/sendmail/libmilter/example.c
67
if (gethostname(host, sizeof host) < 0)
usr/src/cmd/sendmail/src/daemon.c
3217
if (gethostname(hostbuf, size) < 0 || hostbuf[0] == '\0')
usr/src/cmd/sendmail/src/map.c
1875
(void) gethostname(buf, sizeof(buf));
usr/src/cmd/sendmail/util/mail.local.c
356
gethostname(myhostname, sizeof myhostname - 1);
usr/src/cmd/stmfproxy/stmfproxy/stmfproxy.c
448
if (gethostname(myNode, 255)) {
usr/src/cmd/ttymon/uucp.h
577
char *gethostname();
usr/src/cmd/vi/port/expreserve.c
409
if (gethostname((char *)hostname, namelen) == -1)
usr/src/cmd/vntsd/console.c
773
if (gethostname(buf, MAXHOSTNAMELEN)) {
usr/src/cmd/vntsd/vntsd.c
287
if (gethostname(host_name, MAXPATHLEN) != 0) {
usr/src/cmd/vscan/vscand/vs_icap.c
357
if (gethostname(my_host_name, sizeof (my_host_name)) != 0) {
usr/src/cmd/vscan/vscand/vs_icap.c
648
if (gethostname(my_host_name, sizeof (my_host_name)) != 0) {
usr/src/cmd/ypcmd/yppoll.c
237
if (! gethostname(default_host_name, 256)) {
usr/src/cmd/ypcmd/yppoll.c
92
extern int gethostname();
usr/src/cmd/ypcmd/ypset.c
94
extern int gethostname();
usr/src/cmd/ypcmd/ypxfr.c
1783
if (gethostname(local_host_name, 256)) {
usr/src/cmd/ypcmd/ypxfr.c
578
gethostname(inkey, 256);
usr/src/head/unistd.h
351
extern int gethostname(char *, size_t);
usr/src/head/unistd.h
353
extern int gethostname(char *, int);
usr/src/lib/auditd_plugins/binfile/binfile.c
519
(void) gethostname(host, MAXHOSTNAMELEN);
usr/src/lib/auditd_plugins/syslog/sysplugin.c
875
if (gethostname(localname, MAXHOSTNAMELEN))
usr/src/lib/fm/libfmd_msg/common/fmd_msg.c
1151
(void) gethostname(host, MAXHOSTNAMELEN + 1);
usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/kt_solaris.c
181
if (gethostname(localname, MAXHOSTNAMELEN) != 0) {
usr/src/lib/gss_mechs/mech_krb5/krb5/os/hst_realm.c
193
if (gethostname (buf, bufsiz) == -1)
usr/src/lib/gss_mechs/mech_krb5/krb5/os/localaddr.c
1495
if (gethostname (host, sizeof(host))) {
usr/src/lib/gss_mechs/mech_krb5/krb5/os/sn2princ.c
102
if (gethostname(localname, MAXHOSTNAMELEN)) {
usr/src/lib/gss_mechs/mech_krb5/mech/util_localhost.c
48
if (gethostname(buf, sizeof(buf)) < 0)
usr/src/lib/krb5/kadm5/clnt/logger.c
905
gethostname(log_control.log_hostname, MAXHOSTNAMELEN);
usr/src/lib/krb5/kadm5/srv/logger.c
903
gethostname(log_control.log_hostname, MAXHOSTNAMELEN);
usr/src/lib/libbsm/common/adt.c
273
if (gethostname(hostname, MAXHOSTNAMELEN)) {
usr/src/lib/libfsmgt/common/sys_info.c
43
if (gethostname(host, sizeof (host)) == -1) {
usr/src/lib/libima/common/ima-lib.c
1052
gethostname((char *)fullline,
usr/src/lib/libima/common/ima-lib.c
1059
gethostname((char *)fullline, sizeof (fullline));
usr/src/lib/libima/common/ima-lib.c
1248
gethostname(computername, sizeof (computername));
usr/src/lib/libima/common/ima-lib.c
1253
gethostname((char *)computername, sizeof (computername));
usr/src/lib/libnsl/rpc/auth_sys.c
177
if (gethostname(machname, MAX_MACHINE_NAME) == -1) {
usr/src/lib/libnsl/rpc/auth_sys.c
213
if (gethostname(machname, MAX_MACHINE_NAME) == -1) {
usr/src/lib/libnsl/rpc/auth_sys.c
57
extern int gethostname(char *, int);
usr/src/lib/libresolv/res_init.c
275
if (gethostname(buf, sizeof (_res.defdname)) == 0 &&
usr/src/lib/libresolv2/common/resolv/res_init.c
573
gethostname(buf, sizeof(statp->defdname) - 1) == 0 &&
usr/src/lib/libresolv2/include/port_after.h
514
int gethostname(char *, int);
usr/src/lib/libresolv2/include/sunw_port_after.h
61
extern int gethostname(char *, size_t);
usr/src/lib/libsasl/lib/client.c
657
gethostname(name, MAXHOSTNAMELEN);
usr/src/lib/libsasl/lib/common.c
567
gethostname(name, MAXHOSTNAMELEN);
usr/src/lib/libsasl/lib/server.c
74
extern int gethostname(char *, int);
usr/src/lib/libslp/clib/SLPGetRefreshInterval.c
63
(void) gethostname(hostname, MAXHOSTNAMELEN);
usr/src/lib/libslp/clib/SLPUtils.c
326
(void) gethostname(hostname, MAXHOSTNAMELEN);
usr/src/lib/libsmbfs/smb/subr.c
80
if (gethostname(buf, sizeof (buf)) != 0)
usr/src/lib/libsocket/inet/rcmd.c
798
if (gethostname(ldomain, MAXHOSTNAMELEN) == -1) {
usr/src/lib/pam_modules/dhkeys/key_call_uid.c
55
if (gethostname(host, sizeof (host) - 1) == -1) {
usr/src/lib/pam_modules/list/list.c
196
if (gethostname(hostname, MAXHOSTNAMELEN) == 0) {
usr/src/lib/passwdutil/nis_attr.c
90
if (gethostname(thishost, sizeof (thishost)) == -1) {
usr/src/lib/print/libpapi-ipp/common/job.c
156
if (gethostname(host, sizeof (host)) == 0)
usr/src/lib/print/libpapi-lpd/common/lpd-job.c
174
gethostname(host, sizeof (host));
usr/src/lib/print/libpapi-lpd/common/lpd-job.c
513
gethostname(host, sizeof (host));
usr/src/lib/print/libpapi-lpd/common/lpd-port.c
303
if (gethostname(host, sizeof (host)) != 0)
usr/src/lib/sasl_plugins/digestmd5/digestmd5.c
107
extern int gethostname(char *, int);
usr/src/lib/smbsrv/libmlsvc/common/smb_share.c
2474
if (gethostname(hostname, MAXHOSTNAMELEN) != 0)
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
381
(void) gethostname(hostname, MAXHOSTNAMELEN);
usr/src/lib/smbsrv/libsmb/common/smb_info.c
247
if (gethostname(buf, buflen) != 0) {
usr/src/lib/udapl/udapl_tavor/common/dapl_ia_open.c
526
rc = gethostname(hostname, NAMELEN);
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_hca.c
637
if (gethostname(localhost, LINE_LEN) != 0) {
usr/src/stand/lib/fs/nfs/mount.c
654
(void) gethostname(my_hostname, sizeof (my_hostname));
usr/src/stand/lib/fs/nfs/rpc.c
302
(void) gethostname(hostname, sizeof (hostname));
usr/src/stand/lib/sa/unistd.h
52
extern int gethostname(char *, int);
usr/src/ucbcmd/shutdown/shutdown.c
220
(void) gethostname(hostname, sizeof (hostname));
usr/src/uts/common/inet/ipf/ipf.h
309
extern int gethostname __P((char *, int ));