Defined in 8 files as a prototype:
Defined in 1 files as a macro:
Defined in 4 files as a function:
Referenced in 149 files:
- bin/date/netdate.c, line 114
- bin/hostname/hostname.c, line 93
- bin/sh/parser.c, line 2018
- contrib/amd/amd/amd.c, line 427
- contrib/amd/fixmount/fixmount.c, line 337
- contrib/amd/fsinfo/fsinfo.c, line 230
- contrib/amd/hlfsd/hlfsd.c, line 309
- contrib/amd/libamu/mount_fs.c, line 1136
- contrib/amd/wire-test/wire-test.c, line 62
- contrib/apr-util/crypto/getuuid.c, line 90
- contrib/apr/network_io/unix/sockopt.c, 2 times
- contrib/compiler-rt/lib/dfsan/dfsan_custom.cc, line 475
- contrib/compiler-rt/lib/msan/msan_interceptors.cc, 3 times
- contrib/dma/util.c, line 101
- contrib/gcclibs/libmudflap/mf-hooks2.c, 2 times
- contrib/gcclibs/libmudflap/mf-runtime.h, line 195
- contrib/gdb/gdb/wince.c, line 1680
- contrib/hyperv/tools/hv_kvp_daemon.c, line 1076
- contrib/ipfilter/ipsend/ipsend.c, line 345
- contrib/ipfilter/ipsend/iptest.c, line 150
- contrib/ipfilter/lib/initparse.c, line 18
- contrib/ipfilter/tools/ipfstat.c, line 1342
- contrib/libevent/evdns.c, line 3168
- contrib/libxo/libxo/xo_syslog.c, line 592
- contrib/llvm/lib/Support/LockFileManager.cpp, line 98
- contrib/llvm/tools/lldb/source/Host/posix/HostInfoPosix.cpp, line 40
- contrib/mtree/create.c, line 116
- contrib/netbsd-tests/lib/libc/gen/t_sethostname.c, 3 times
- contrib/ntp/libntp/findconfig.c, line 30
- contrib/ntp/ntpd/ntp_crypto.c, line 3948
- contrib/ntp/sntp/libevent/evdns.c, line 3170
- contrib/ntp/util/ntp-keygen.c, line 359
- contrib/nvi/common/recover.c, line 410
- contrib/ofed/infiniband-diags/src/ibping.c, line 63
- contrib/ofed/infiniband-diags/src/ibsysstat.c, line 134
- contrib/ofed/libmlx5/mlx5.c, line 777
- contrib/openpam/bin/pamtest/pamtest.c, line 392
- contrib/openpam/bin/su/su.c, line 103
- contrib/openpam/lib/libpam/pam_start.c, line 79
- contrib/sendmail/libmilter/example.c, line 67
- contrib/sendmail/mail.local/mail.local.c, line 568
- contrib/sendmail/src/daemon.c, line 3225
- contrib/sendmail/src/map.c, line 1884
- contrib/smbfs/lib/smb/nb_net.c, line 59
- contrib/tcsh/dotlock.c, line 59
- contrib/tcsh/sh.c, line 686
- contrib/tcsh/tc.decls.h, line 199
- contrib/tcsh/tc.func.c, line 1954
- contrib/telnet/libtelnet/krb4encpwd.c, 3 times
- contrib/telnet/libtelnet/rsaencpwd.c, line 159
- contrib/telnet/telnet/commands.c, line 1658
- contrib/telnet/telnet/telnet.c, line 2126
- contrib/telnet/telnetd/telnetd.c, line 701
- contrib/tnftp/src/ruserpass.c, line 106
- contrib/traceroute/traceroute.c, line 1905
- contrib/unbound/daemon/worker.c, line 928
- contrib/unbound/dnstap/dnstap.c, line 182
- crypto/heimdal/appl/ftp/ftp/ruserpass.c, line 79
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, line 398
- crypto/heimdal/appl/gssmask/gssmask.c, line 1096
- crypto/heimdal/appl/kf/kfd.c, line 149
- crypto/heimdal/appl/login/login_access.c, line 169
- crypto/heimdal/appl/login/utmp_login.c, line 54
- crypto/heimdal/appl/rsh/login_access.c, line 169
- crypto/heimdal/appl/telnet/libtelnet/rsaencpwd.c, line 160
- crypto/heimdal/appl/telnet/libtelnet/spx.c, 2 times
- crypto/heimdal/appl/telnet/telnet/commands.c, line 1567
- crypto/heimdal/appl/telnet/telnet/telnet.c, line 2048
- crypto/heimdal/appl/telnet/telnetd/telnetd.c, line 733
- crypto/heimdal/appl/test/tcp_server.c, line 64
- crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c, line 374
- crypto/heimdal/lib/kadm5/ipropd_master.c, line 303
- crypto/heimdal/lib/krb5/get_addrs.c, line 53
- crypto/heimdal/lib/krb5/get_host_realm.c, line 229
- crypto/heimdal/lib/krb5/principal.c, line 1050
- crypto/heimdal/lib/krb5/verify_init.c, line 91
- crypto/openssh/canohost.c, line 143
- crypto/openssh/gss-serv.c, line 108
- crypto/openssh/readconf.c, line 635
- crypto/openssh/session.c, line 2538
- crypto/openssh/ssh-keygen.c, line 2411
- crypto/openssh/ssh.c, line 1263
- lib/libc/gen/syslog.c, line 195
- lib/libc/resolv/res_init.c, line 556
- lib/libc/rpc/auth_unix.c, line 197
- lib/libc/rpc/netname.c, line 135
- lib/libcompat/4.3/rexec.c, line 156
- lib/libfetch/ftp.c, line 941
- lib/libpam/modules/pam_login_access/pam_login_access.c, line 82
- lib/libpam/modules/pam_radius/pam_radius.c, line 97
- lib/libutil/trimdomain.c, line 67
- libexec/bootpd/bootpd.c, line 254
- libexec/comsat/comsat.c, line 99
- libexec/ftpd/ftpd.c, 2 times
- libexec/getty/main.c, line 192
- libexec/pppoed/pppoed.c, line 586
- libexec/rbootd/rbootd.c, line 169
- libexec/talkd/talkd.c, line 96
- sbin/dhclient/dhclient.c, line 491
- sbin/dump/main.c, line 398
- sbin/iscontrol/iscontrol.c, 2 times
- sbin/mount_nfs/mount_nfs.c, line 445
- sbin/route/route.c, line 539
- sbin/routed/main.c, line 139
- sbin/shutdown/shutdown.c, line 310
- sys/kern/init_sysent.c, line 139
- tools/regression/kgssapi/gsstest.c, line 130
- tools/regression/rpcsec_gss/rpctest.c, 2 times
- tools/tools/net80211/wlanwatch/wlanwatch.c, line 149
- usr.bin/iscsictl/iscsictl.c, line 116
- usr.bin/last/last.c, line 488
- usr.bin/lock/lock.c, line 148
- usr.bin/logger/logger.c, line 185
- usr.bin/netstat/inet6.c, line 1326
- usr.bin/passwd/passwd.c, line 147
- usr.bin/rwall/rwall.c, line 149
- usr.bin/systat/main.c, line 213
- usr.bin/talk/get_names.c, line 82
- usr.bin/wall/wall.c, line 217
- usr.bin/write/write.c, line 317
- usr.sbin/bhyve/smbiostbl.c, line 610
- usr.sbin/cron/cron/do_command.c, line 497
- usr.sbin/ctld/ctld.c, 3 times
- usr.sbin/fmtree/create.c, line 92
- usr.sbin/lpr/common_source/common.c, line 581
- usr.sbin/lpr/common_source/net.c, line 202
- usr.sbin/lpr/lpd/lpd.c, line 147
- usr.sbin/lpr/lpd/printjob.c, line 503
- usr.sbin/lpr/lpq/lpq.c, line 95
- usr.sbin/lpr/lpr/lpr.c, line 161
- usr.sbin/lpr/lprm/lprm.c, line 101
- usr.sbin/newsyslog/newsyslog.c, line 636
- usr.sbin/nfscbd/nfscbd.c, line 121
- usr.sbin/nfsd/nfsd.c, line 1031
- usr.sbin/nfsuserd/nfsuserd.c, line 127
- usr.sbin/ppp/ipcp.c, line 467
- usr.sbin/ppp/prompt.c, line 123
- usr.sbin/ppp/radius.c, 2 times
- usr.sbin/rpc.lockd/kern.c, line 163
- usr.sbin/rpc.statd/file.c, line 261
- usr.sbin/rpc.yppasswdd/yppasswdd_main.c, line 242
- usr.sbin/rwhod/rwhod.c, line 240
- usr.sbin/syslogd/syslogd.c, line 2351
- usr.sbin/timed/timed/timed.c, line 201
- usr.sbin/timed/timedc/cmds.c, 4 times
- usr.sbin/traceroute6/traceroute6.c, line 1544
- usr.sbin/yp_mkdb/yp_mkdb.c, line 178
- usr.sbin/ypldap/yp.c, line 574
- usr.sbin/yppush/yppush_main.c, line 553