Defined in 2 files as a prototype:
Defined in 4 files as a macro:
Defined in 4 files as a function:
Referenced in 269 files:
- bin/cp/cp.c, line 202
- bin/csh/csh.c, line 149
- bin/ksh/main.c, line 279
- bin/ksh/misc.c, line 324
- bin/ls/ls.c, line 150
- bin/ps/ps.c, line 229
- bin/rcp/rcp.c, line 145
- bin/sh/expand.c, line 440
- bin/sh/main.c, line 131
- bin/sh/options.c, 2 times
- crypto/dist/ipsec-tools/src/racoon/safefile.c, 2 times
- crypto/external/bsd/heimdal/dist/kcm/client.c, line 180
- crypto/external/bsd/heimdal/dist/lib/hcrypto/rand-fortuna.c, line 529
- crypto/external/bsd/heimdal/dist/lib/hx509/softp11.c, line 839
- crypto/external/bsd/heimdal/dist/lib/kafs/afskrb5.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/kafs/afssys.c, line 139
- crypto/external/bsd/heimdal/dist/lib/krb5/config_file.c, line 446
- crypto/external/bsd/heimdal/dist/lib/krb5/expand_path.c, line 299
- crypto/external/bsd/heimdal/dist/lib/krb5/get_default_principal.c, line 71
- crypto/external/bsd/heimdal/dist/lib/roken/get_default_username.c, line 65
- crypto/external/bsd/heimdal/dist/lib/roken/geteuid.c, line 45
- crypto/external/bsd/heimdal/dist/lib/roken/glob.c, line 370
- crypto/external/bsd/heimdal/dist/lib/roken/issuid.c, line 208
- crypto/external/bsd/openssh/dist/authfile.c, line 151
- crypto/external/bsd/openssh/dist/channels.c, 2 times
- crypto/external/bsd/openssh/dist/readconf.c, line 1880
- crypto/external/bsd/openssh/dist/scp.c, line 505
- crypto/external/bsd/openssh/dist/servconf.c, 3 times
- crypto/external/bsd/openssh/dist/session.c, 3 times
- crypto/external/bsd/openssh/dist/sftp-server-main.c, 2 times
- crypto/external/bsd/openssh/dist/sftp.c, line 1679
- crypto/external/bsd/openssh/dist/ssh-add.c, 2 times
- crypto/external/bsd/openssh/dist/ssh-agent.c, 2 times
- crypto/external/bsd/openssh/dist/ssh-keygen.c, 2 times
- crypto/external/bsd/openssh/dist/ssh-keysign.c, line 193
- crypto/external/bsd/openssh/dist/ssh.c, 9 times
- crypto/external/bsd/openssh/dist/sshconnect2.c, line 2144
- crypto/external/bsd/openssh/dist/sshd.c, line 436
- crypto/external/bsd/openssh/dist/uidswap.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/uid.c, line 46
- crypto/external/bsd/openssl/lib/libcrypto/rnd_keys.c, line 81
- crypto/external/bsd/openssl/lib/libdes/ornd_keys.c, line 82
- crypto/external/cpl/trousers/dist/src/tspi/tsp_policy.c, 2 times
- dist/pf/usr.sbin/authpf/authpf.c, 2 times
- dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c, line 727
- external/bsd/am-utils/dist/fsinfo/fsinfo.c, line 202
- external/bsd/blacklist/bin/conf.c, line 415
- external/bsd/cron/dist/crontab.c, 2 times
- external/bsd/cron/dist/externs.h, line 84
- external/bsd/fetch/dist/libfetch/common.c, line 896
- external/bsd/ipf/dist/ip_fil.c, line 84
- external/bsd/ipf/dist/tools/ipfstat.c, 2 times
- external/bsd/ipf/dist/tools/ipnat.c, 2 times
- external/bsd/kyua-cli/dist/engine/test_case_atf_helpers.cpp, line 115
- external/bsd/kyua-cli/dist/utils/passwd.cpp, line 109
- external/bsd/kyua-cli/dist/utils/passwd_test.cpp, 8 times
- external/bsd/kyua-testers/dist/cli_test.c, line 53
- external/bsd/kyua-testers/dist/run.c, 6 times
- external/bsd/kyua-testers/dist/run_test.c, 9 times
- external/bsd/libarchive/dist/cpio/test/test_format_newc.c, line 96
- external/bsd/libarchive/dist/libarchive/archive_write_set_format_iso9660.c, 2 times
- external/bsd/libarchive/dist/libarchive/test/test_write_disk_perms.c, 19 times
- external/bsd/libbind/dist/isc/eventlib.c, line 583
- external/bsd/libbind/dist/isc/logging.c, line 637
- external/bsd/libevent/dist/evutil.c, line 2383
- external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Clang.cpp, line 706
- external/bsd/llvm/dist/llvm/unittests/Support/Path.cpp, line 332
- external/bsd/nsd/dist/nsd.c, line 818
- external/bsd/ntp/dist/ntpd/ntpd.c, line 864
- external/bsd/ntp/dist/sntp/libevent/evutil.c, line 2351
- external/bsd/nvi/dist/common/exf.c, line 1158
- external/bsd/nvi/dist/common/recover.c, 2 times
- external/bsd/nvi/dist/ex/ex_cd.c, line 69
- external/bsd/nvi/dist/ex/ex_script.c, line 729
- external/bsd/openldap/dist/libraries/libldap/init.c, line 692
- external/bsd/openldap/dist/servers/slapd/user.c, line 133
- external/bsd/ppp/dist/pppd/auth.c, 3 times
- external/bsd/ppp/dist/pppd/eap.c, line 1214
- external/bsd/ppp/dist/pppd/main.c, 2 times
- external/bsd/ppp/dist/pppd/options.c, 4 times
- external/bsd/ppp/dist/pppd/plugins/passprompt.c, line 57
- external/bsd/ppp/dist/pppd/plugins/winbind.c, 2 times
- external/bsd/ppp/dist/pppd/tty.c, line 953
- external/bsd/smbfs/dist/lib/smb/subr.c, line 323
- external/bsd/smbfs/dist/mount_smbfs/mount_smbfs.c, line 233
- external/bsd/tcpdump/dist/tcpdump.c, 6 times
- external/bsd/tmux/dist/compat/daemon-darwin.c, line 70
- external/bsd/tmux/dist/tmux.c, 3 times
- external/bsd/top/dist/commands.c, 3 times
- external/bsd/top/dist/machine/m_decosf1.c, line 975
- external/bsd/top/dist/machine/m_sunos5.c, 2 times
- external/bsd/top/dist/top.c, 2 times
- external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c, line 1497
- external/gpl2/gettext/dist/djgpp/getpwnam.c, line 27
- external/gpl2/gettext/dist/gettext-runtime/intl/dcigettext.c, 3 times
- external/gpl2/gettext/dist/gettext-tools/src/msginit.c, 2 times
- external/gpl2/gmake/dist/misc.c, 2 times
- external/gpl2/grep/dist/intl/dcigettext.c, 3 times
- external/gpl2/lvm2/dist/tools/lvmcmdline.c, 2 times
- external/gpl2/rcs/dist/src/rcsutil.c, line 1317
- external/gpl2/texinfo/dist/info/tilde.c, line 199
- external/gpl2/texinfo/dist/intl/dcigettext.c, 3 times
- external/gpl2/xcvs/dist/src/filesubr.c, line 850
- external/gpl2/xcvs/dist/src/run.c, line 248
- external/gpl2/xcvs/dist/src/server.c, 3 times
- external/gpl2/xcvs/dist/src/subr.c, line 314
- external/gpl3/binutils/dist/bfd/archive.c, 2 times
- external/gpl3/binutils/dist/intl/dcigettext.c, 3 times
- external/gpl3/gcc/dist/intl/dcigettext.c, 3 times
- external/gpl3/gcc/dist/libgomp/plugin/plugin-hsa.c, line 58
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cc, line 50
- external/gpl3/gdb/dist/bfd/archive.c, 2 times
- external/gpl3/gdb/dist/gdb/aarch64-linux-tdep.c, line 1219
- external/gpl3/gdb/dist/gdb/gnulib/import/secure_getenv.c, line 38
- external/gpl3/gdb/dist/gdb/procfs.c, 2 times
- external/gpl3/gdb/dist/gdb/remote-fileio.c, line 947
- external/gpl3/gdb/dist/gdb/testsuite/gdb.reverse/recvmsg-reverse.c, line 78
- external/gpl3/gdb/dist/intl/dcigettext.c, 3 times
- external/gpl3/gdb/dist/readline/examples/rlfe/rlfe.c, line 210
- external/gpl3/gdb/dist/readline/shell.c, line 167
- external/gpl3/gdb/dist/sim/bfin/interp.c, 2 times
- external/gpl3/gdb/dist/sim/cris/traps.c, line 1610
- external/gpl3/gdb/dist/sim/m32r/traps-linux.c, line 364
- external/gpl3/gdb/dist/sim/ppc/emul_netbsd.c, 2 times
- external/gpl3/gdb/dist/sim/ppc/emul_unix.c, 2 times
- external/ibm-public/postfix/dist/src/master/master.c, 2 times
- external/ibm-public/postfix/dist/src/master/master_listen.c, 3 times
- external/ibm-public/postfix/dist/src/master/master_wakeup.c, line 138
- external/ibm-public/postfix/dist/src/pickup/pickup.c, line 575
- external/ibm-public/postfix/dist/src/postalias/postalias.c, line 323
- external/ibm-public/postfix/dist/src/postdrop/postdrop.c, line 237
- external/ibm-public/postfix/dist/src/postfix/postfix.c, line 481
- external/ibm-public/postfix/dist/src/postmap/postmap.c, line 398
- external/ibm-public/postfix/dist/src/postqueue/postqueue.c, 4 times
- external/ibm-public/postfix/dist/src/postsuper/postsuper.c, line 1162
- external/ibm-public/postfix/dist/src/qmqpd/qmqpd_peer.c, 2 times
- external/ibm-public/postfix/dist/src/sendmail/sendmail.c, 4 times
- external/ibm-public/postfix/dist/src/smtpd/smtpd.c, 4 times
- external/ibm-public/postfix/dist/src/smtpd/smtpd.h, 2 times
- external/ibm-public/postfix/dist/src/smtpd/smtpd_peer.c, 2 times
- external/ibm-public/postfix/dist/src/util/fullname.c, line 74
- external/ibm-public/postfix/dist/src/util/unsafe.c, line 51
- external/ibm-public/postfix/dist/src/util/username.c, line 45
- external/mpl/bind/dist/bin/named/unix/os.c, 3 times
- external/public-domain/sqlite/dist/shell.c, line 15783
- games/atc/log.c, 2 times
- games/battlestar/init.c, line 84
- games/canfield/canfield/canfield.c, line 1645
- games/canfield/cfscores/cfscores.c, line 80
- games/ching/castching/castching.c, line 85
- games/dm/dm.c, line 319
- games/hack/hack.end.c, 2 times
- games/hack/hack.main.c, 2 times
- games/hack/hack.pager.c, line 450
- games/hack/hack.save.c, 2 times
- games/hunt/hunt/connect.c, line 54
- games/larn/main.c, line 99
- games/phantasia/main.c, 2 times
- games/robots/score.c, line 133
- games/rogue/machdep.c, line 317
- games/sail/main.c, line 87
- games/sail/misc.c, line 231
- games/snake/snake/snake.c, line 526
- games/tetris/scores.c, line 725
- lib/libc/gen/extattr.c, line 314
- lib/libc/gen/glob.c, 2 times
- lib/libc/gmon/gmon.c, line 391
- lib/libc/stdlib/malloc.c, line 338
- lib/libedit/filecomplete.c, 3 times
- lib/libedit/readline.c, line 228
- lib/libpam/modules/pam_ksu/pam_ksu.c, line 217
- lib/libpam/modules/pam_rootok/pam_rootok.c, line 61
- lib/libpam/modules/pam_self/pam_self.c, line 77
- lib/libpam/modules/pam_unix/pam_unix.c, 2 times
- lib/librmt/rmtlib.c, line 347
- lib/libutil/passwd.c, 2 times
- lib/libutil/pty.c, line 116
- libexec/ld.elf_so/rtld.c, line 567
- libexec/mail.local/mail.local.c, line 114
- libexec/rpc.rwalld/rwalld.c, line 87
- libexec/tftpd/tftpd.c, line 173
- libexec/utmp_update/utmp_update.c, line 85
- regress/sys/kern/unfdpass/unfdpass.c, line 309
- sbin/disklabel/main.c, line 1586
- sbin/dump/dumprmt.c, line 118
- sbin/init/init.c, line 236
- sbin/mount/mount.c, line 316
- sbin/mount_portal/pt_file.c, 5 times
- sbin/mount_portal/pt_filter.c, 2 times
- sbin/ping/ping_hostops.c, line 51
- sbin/ping/prog_ops.h, line 75
- sbin/ping6/ping6_hostops.c, line 53
- sbin/ping6/prog_ops.h, line 84
- sbin/reboot/reboot.c, line 151
- sbin/shutdown/shutdown.c, line 224
- share/examples/refuse/ian/libfetch/common.c, line 685
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_posix_libcdep.cc, line 53
- sys/rump/librump/rumpkern/rump_syscalls.c, line 480
- tests/include/t_paths.c, line 135
- tests/lib/libc/gen/t_siginfo.c, line 149
- tests/lib/libc/sys/t_msgctl.c, 2 times
- tests/lib/libc/sys/t_ptrace_wait.c, line 7655
- tests/lib/libc/sys/t_setuid.c, 3 times
- tests/lib/libc/sys/t_stat.c, line 254
- tests/lib/libc/sys/t_wait.c, 9 times
- tests/lib/libc/ttyio/t_ptm.c, 2 times
- usr.bin/at/privs.c, line 89
- usr.bin/calendar/calendar.c, line 142
- usr.bin/chpass/chpass.c, line 128
- usr.bin/chpass/edit.c, line 140
- usr.bin/error/filter.c, line 80
- usr.bin/from/from.c, line 97
- usr.bin/ftp/main.c, line 462
- usr.bin/id/id.c, 3 times
- usr.bin/lock/lock.c, 2 times
- usr.bin/login/login.c, 2 times
- usr.bin/login/login_pam.c, 2 times
- usr.bin/mail/complete.c, line 432
- usr.bin/mail/lex.c, line 209
- usr.bin/mail/v7.local.c, line 96
- usr.bin/msgs/msgs.c, line 178
- usr.bin/newgrp/grutil.c, line 114
- usr.bin/newgrp/newgrp.c, 3 times
- usr.bin/passwd/local_passwd.c, 2 times
- usr.bin/passwd/pam_passwd.c, line 79
- usr.bin/passwd/yp_passwd.c, 2 times
- usr.bin/patch/inp.c, line 184
- usr.bin/pmap/main.c, line 293
- usr.bin/quota/quota.c, line 118
- usr.bin/rdist/main.c, line 94
- usr.bin/rfcomm_sppd/rfcomm_sppd.c, line 325
- usr.bin/rlogin/rlogin.c, line 209
- usr.bin/rsh/rsh.c, 2 times
- usr.bin/rwall/rwall.c, line 170
- usr.bin/skeyinfo/skeyinfo.c, line 60
- usr.bin/skeyinit/skeyinit.c, 4 times
- usr.bin/su/su.c, line 184
- usr.bin/su/su_pam.c, line 178
- usr.bin/talk/get_names.c, line 73
- usr.bin/telnet/commands.c, 2 times
- usr.bin/tip/tip.c, line 81
- usr.bin/tip/value.c, line 258
- usr.bin/vacation/vacation.c, 3 times
- usr.bin/wall/wall.c, 3 times
- usr.bin/who/who.c, line 254
- usr.bin/write/write.c, line 85
- usr.sbin/bthcid/bthcid.c, line 101
- usr.sbin/edquota/edquota.c, 4 times
- usr.sbin/kgmon/kgmon.c, 5 times
- usr.sbin/lpr/common_source/rmjob.c, line 92
- usr.sbin/lpr/lpc/lpc.c, 2 times
- usr.sbin/lpr/lpd/lpd.c, line 157
- usr.sbin/lpr/lpq/lpq.c, line 84
- usr.sbin/lpr/lpr/lpr.c, 2 times
- usr.sbin/lpr/lprm/lprm.c, 2 times
- usr.sbin/mrinfo/mrinfo.c, line 333
- usr.sbin/mtrace/mtrace.c, line 1163
- usr.sbin/mtree/create.c, line 120
- usr.sbin/puffs/mount_9p/ninepuffs.c, line 196
- usr.sbin/quotacheck/quotacheck.c, line 507
- usr.sbin/rwhod/rwhod.c, line 137
- usr.sbin/sdpd/main.c, line 162
- usr.sbin/sliplogin/sliplogin.c, line 229
- usr.sbin/sup/source/run.c, line 184
- usr.sbin/sup/source/supcmain.c, line 666
- usr.sbin/sup/source/supcmisc.c, line 256
- usr.sbin/sup/source/supfilesrv.c, 2 times
- usr.sbin/traceroute/traceroute.c, 3 times
- usr.sbin/traceroute6/traceroute6.c, 2 times