Defined in 6 files as a prototype:
Defined in 1 files as a member:
Defined in 1 files as a macro:
Defined in 3 files as a function:
Referenced in 153 files:
- bin/date/netdate.c, line 121
- bin/hostname/hostname.c, line 83
- bin/sh/var.c, line 1422
- crypto/dist/ipsec-tools/src/racoon/gssapi.c, line 140
- crypto/external/bsd/heimdal/dist/kdc/kx509.c, line 362
- crypto/external/bsd/heimdal/dist/lib/gssapi/spnego/accept_sec_context.c, line 376
- crypto/external/bsd/heimdal/dist/lib/kadm5/ipropd_master.c, line 261
- crypto/external/bsd/heimdal/dist/lib/krb5/get_addrs.c, line 55
- crypto/external/bsd/heimdal/dist/lib/krb5/get_host_realm.c, line 273
- crypto/external/bsd/heimdal/dist/lib/krb5/principal.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/krb5/verify_init.c, line 96
- crypto/external/bsd/heimdal/dist/lib/ntlm/apop.c, line 55
- crypto/external/bsd/netpgp/dist/src/libpaa/libpaa.c, line 162
- crypto/external/bsd/openssh/dist/canohost.c, line 113
- crypto/external/bsd/openssh/dist/gss-serv.c, line 112
- crypto/external/bsd/openssh/dist/readconf.c, line 661
- crypto/external/bsd/openssh/dist/session.c, line 2427
- crypto/external/bsd/openssh/dist/ssh-keygen.c, line 2446
- crypto/external/bsd/openssh/dist/ssh.c, line 1266
- crypto/external/bsd/openssl/lib/libcrypto/rnd_keys.c, line 75
- crypto/external/bsd/openssl/lib/libdes/ornd_keys.c, line 75
- external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c, line 470
- external/bsd/am-utils/dist/amd/amd.c, line 425
- external/bsd/am-utils/dist/fixmount/fixmount.c, line 339
- external/bsd/am-utils/dist/fsinfo/fsinfo.c, line 232
- external/bsd/am-utils/dist/hlfsd/hlfsd.c, line 310
- external/bsd/am-utils/dist/libamu/mount_fs.c, line 1141
- external/bsd/am-utils/dist/wire-test/wire-test.c, line 64
- external/bsd/cron/dist/do_command.c, line 198
- external/bsd/dhcpcd/dist/src/dhcp-common.c, line 55
- external/bsd/fetch/dist/libfetch/ftp.c, line 1020
- external/bsd/ipf/dist/ipsend/ipsend.c, line 346
- external/bsd/ipf/dist/ipsend/iptest.c, line 150
- external/bsd/ipf/dist/lib/initparse.c, line 18
- external/bsd/ipf/dist/tools/ipfstat.c, line 1330
- external/bsd/iscsi/dist/src/initiator/iscsi-initiator.c, line 554
- external/bsd/libbind/dist/resolv/res_init.c, line 479
- external/bsd/libbind/dist/tests/dig8.c, line 336
- external/bsd/libevent/dist/evdns.c, line 3171
- external/bsd/llvm/dist/llvm/lib/Support/LockFileManager.cpp, line 98
- external/bsd/nsd/dist/dnstap/dnstap.c, line 197
- external/bsd/nsd/dist/nsd.c, line 441
- external/bsd/ntp/dist/libntp/findconfig.c, line 32
- external/bsd/ntp/dist/ntpd/ntp_crypto.c, line 3950
- external/bsd/ntp/dist/sntp/libevent/evdns.c, line 3172
- external/bsd/ntp/dist/util/ntp-keygen.c, line 361
- external/bsd/nvi/dist/common/recover.c, line 411
- external/bsd/openldap/dist/clients/tools/common.c, line 191
- external/bsd/openldap/dist/libraries/libldap/cyrus.c, line 463
- external/bsd/openldap/dist/libraries/libldap/util-int.c, line 848
- external/bsd/openldap/dist/servers/slapd/slapi/slapi_utils.c, line 1908
- external/bsd/openpam/dist/bin/pamtest/pamtest.c, line 394
- external/bsd/openpam/dist/bin/su/su.c, line 105
- external/bsd/openpam/dist/lib/libpam/pam_start.c, line 90
- external/bsd/ppp/dist/pppd/main.c, line 334
- external/bsd/ppp/dist/pppd/options.c, line 1581
- external/bsd/smbfs/dist/lib/smb/nb_net.c, line 62
- external/bsd/tmux/dist/format.c, 2 times
- external/bsd/tmux/dist/window.c, line 898
- external/bsd/unbound/dist/daemon/worker.c, line 931
- external/bsd/unbound/dist/dnstap/dnstap.c, line 199
- external/gpl2/gettext/dist/gettext-tools/src/hostname.c, line 257
- external/gpl2/lvm2/dist/lib/misc/lvm-file.c, line 49
- external/gpl2/xcvs/dist/lib/xgethostname.c, line 70
- external/gpl3/gdb/dist/gdb/gnulib/import/sys_socket.in.h, 3 times
- external/gpl3/gdb/dist/gdb/gnulib/import/sys_time.in.h, 3 times
- external/gpl3/gdb/dist/gdb/gnulib/import/unistd.in.h, 11 times
- external/ibm-public/postfix/dist/src/util/get_hostname.c, line 76
- external/mpl/bind/dist/bin/named/builtin.c, 2 times
- external/mpl/bind/dist/bin/named/server.c, 2 times
- external/mpl/bind/dist/bin/named/unix/os.c, line 836
- external/mpl/bind/dist/bin/named/win32/os.c, line 374
- external/mpl/bind/dist/bin/tests/system/feature-test.c, line 97
- external/mpl/bind/dist/lib/ns/client.c, 2 times
- external/mpl/bind/dist/lib/ns/server.c, line 106
- external/mpl/dhcp/dist/common/tree.c, line 2048
- external/mpl/dhcp/dist/server/ldap.c, line 258
- games/hunt/hunt/server.c, line 77
- lib/libc/gen/gethostname.c, 2 times
- lib/libc/gen/xsyslog.c, line 188
- lib/libc/resolv/res_init.c, line 532
- lib/libc/rpc/auth_unix.c, line 198
- lib/libcompat/4.3/ruserpass.c, line 121
- lib/libpam/modules/pam_login_access/pam_login_access.c, line 85
- lib/libpam/modules/pam_radius/pam_radius.c, line 114
- lib/librumpuser/rumpfiber.c, line 519
- lib/librumpuser/rumpuser.c, line 204
- lib/libskey/skeylogin.c, line 467
- lib/libutil/pidlock.c, line 66
- libexec/comsat/comsat.c, line 127
- libexec/ftpd/ftpd.c, 2 times
- libexec/getty/main.c, line 199
- libexec/httpd/bozohttpd.c, line 2576
- libexec/rlogind/rlogind.c, line 728
- libexec/rshd/rshd.c, line 774
- libexec/talkd/talkd.c, line 107
- libexec/telnetd/telnetd.c, line 704
- sbin/dump/main.c, line 442
- sbin/iscsid/iscsid_driverif.c, line 69
- sbin/route/rtutil.c, line 448
- sbin/routed/main.c, line 135
- sbin/shutdown/shutdown.c, line 306
- share/examples/refuse/ian/libfetch/ftp.c, line 943
- sys/external/bsd/compiler_rt/dist/lib/msan/msan_interceptors.cc, 3 times
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, 2 times
- tests/lib/libc/gen/t_sethostname.c, 2 times
- usr.bin/ftp/ruserpass.c, line 99
- usr.bin/last/last.c, line 318
- usr.bin/lock/lock.c, line 170
- usr.bin/login/k5login.c, line 151
- usr.bin/login/login.c, line 191
- usr.bin/login/login_pam.c, line 149
- usr.bin/mail/dotlock.c, line 63
- usr.bin/netstat/inet.c, line 921
- usr.bin/netstat/inet6.c, line 1405
- usr.bin/newsyslog/newsyslog.c, line 170
- usr.bin/passwd/pam_passwd.c, line 118
- usr.bin/rdist/main.c, line 102
- usr.bin/rwall/rwall.c, line 171
- usr.bin/skeyinit/skeyinit.c, line 77
- usr.bin/su/su_pam.c, line 243
- usr.bin/systat/main.c, line 219
- usr.bin/talk/get_names.c, line 80
- usr.bin/telnet/commands.c, line 1655
- usr.bin/telnet/telnet.c, line 2053
- usr.bin/w/w.c, line 212
- usr.bin/wall/wall.c, line 198
- usr.bin/write/write.c, line 239
- usr.sbin/bootp/bootpd/bootpd.c, line 358
- usr.sbin/bootp/bootpgw/bootpgw.c, line 204
- usr.sbin/bootp/bootptest/bootptest.c, line 327
- usr.sbin/isibootd/isibootd.c, line 163
- usr.sbin/lpr/lpd/lpd.c, line 158
- usr.sbin/lpr/lpd/printjob.c, line 445
- usr.sbin/lpr/lpq/lpq.c, line 86
- usr.sbin/lpr/lpr/lpr.c, line 145
- usr.sbin/lpr/lprm/lprm.c, line 94
- usr.sbin/mlxctl/config.c, line 136
- usr.sbin/mtree/create.c, line 116
- usr.sbin/rbootd/rbootd.c, line 166
- usr.sbin/rpc.statd/statd.c, line 568
- usr.sbin/rwhod/rwhod.c, line 190
- usr.sbin/sup/source/log.c, line 71
- usr.sbin/sup/source/scm.c, 2 times
- usr.sbin/sup/source/supcmisc.c, line 281
- usr.sbin/sup/source/supscan.c, line 438
- usr.sbin/sysinst/net.c, 2 times
- usr.sbin/syslogd/syslogd.c, line 4068
- usr.sbin/timed/timed/timed.c, line 206
- usr.sbin/timed/timedc/cmds.c, line 81
- usr.sbin/traceroute/traceroute.c, line 1614
- usr.sbin/traceroute6/traceroute6.c, line 1110
- usr.sbin/ypserv/common/localhostname.c, line 55