Defined in 4 files as a prototype:
Defined in 3 files as a macro:
Defined in 7 files as a function:
Referenced in 155 files:
- bin/csh/csh.c, line 1316
- bin/csh/file.c, line 362
- bin/ksh/eval.c, line 1289
- bin/pax/sel_subs.c, line 144
- bin/ps/ps.c, line 354
- bin/sh/expand.c, line 444
- crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c, line 1339
- crypto/external/bsd/heimdal/dist/kdc/main.c, line 88
- crypto/external/bsd/heimdal/dist/lib/roken/getxxyyy.c, 3 times
- crypto/external/bsd/heimdal/dist/lib/roken/k_getpwnam.c, line 48
- crypto/external/bsd/openssh/dist/auth.c, line 566
- crypto/external/bsd/openssh/dist/auth2-pubkey.c, 2 times
- crypto/external/bsd/openssh/dist/misc.c, line 1137
- crypto/external/bsd/openssh/dist/servconf.c, line 1135
- crypto/external/bsd/openssh/dist/sftp-server.c, line 1682
- crypto/external/bsd/openssh/dist/sshd.c, 2 times
- crypto/external/cpl/trousers/dist/src/tcsd/svrside.c, line 466
- crypto/external/cpl/trousers/dist/src/tcsd/tcsd_conf.c, line 789
- dist/pf/libexec/tftp-proxy/tftp-proxy.c, line 125
- dist/pf/sbin/pflogd/privsep.c, line 88
- dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c, line 278
- distrib/utils/libhack/getpwent.c, line 58
- external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c, line 224
- external/bsd/am-utils/dist/amd/info_passwd.c, line 102
- external/bsd/am-utils/dist/amd/ops_pcfs.c, line 163
- external/bsd/am-utils/dist/amd/ops_udf.c, line 115
- external/bsd/atf/dist/tools/user.cpp, line 66
- external/bsd/blocklist/bin/conf.c, line 358
- external/bsd/cron/dist/crontab.c, line 210
- external/bsd/cron/dist/database.c, line 265
- external/bsd/cron/dist/entry.c, line 264
- external/bsd/dhcpcd/dist/src/privsep.c, line 101
- external/bsd/kyua-cli/dist/utils/passwd.cpp, line 127
- external/bsd/kyua-testers/dist/run_test.c, 4 times
- external/bsd/libarchive/dist/cpio/cmdline.c, line 346
- external/bsd/libarchive/dist/libarchive/archive_write_disk_set_standard_lookup.c, line 222
- external/bsd/libbind/dist/irs/getpwent_r.c, 2 times
- external/bsd/libbind/dist/irs/irpmarshall.c, 2 times
- external/bsd/libpcap/dist/rpcapd/daemon.c, line 1244
- external/bsd/nsd/dist/nsd.c, line 1436
- external/bsd/ntp/dist/ntpd/ntpd.c, line 711
- external/bsd/openldap/dist/libraries/liblutil/passwd.c, line 715
- external/bsd/openldap/dist/libraries/librewrite/xmap.c, line 270
- external/bsd/openldap/dist/servers/slapd/back-passwd/search.c, line 230
- external/bsd/openldap/dist/servers/slapd/user.c, line 75
- external/bsd/openpam/dist/bin/su/su.c, line 131
- external/bsd/openpam/dist/modules/pam_unix/pam_unix.c, line 86
- external/bsd/ppp/dist/pppd/session.c, line 309
- external/bsd/tcpdump/dist/tcpdump.c, line 602
- external/bsd/tmux/dist/cmd-server-access.c, line 90
- external/bsd/top/dist/username.c, line 143
- external/bsd/unbound/dist/daemon/unbound.c, line 480
- external/bsd/unbound/dist/smallapp/unbound-checkconf.c, line 872
- external/bsd/unbound/dist/util/config_file.c, line 2254
- external/cddl/osnet/dist/cmd/zfs/zfs_main.c, 2 times
- external/cddl/osnet/dist/lib/libzfs/common/libzfs_dataset.c, line 2791
- external/gpl2/gettext/dist/gettext-tools/src/msginit.c, 2 times
- external/gpl2/gmake/dist/glob/glob.c, 2 times
- external/gpl2/gmake/dist/read.c, 3 times
- external/gpl2/texinfo/dist/info/tilde.c, line 230
- external/gpl2/texinfo/dist/makeinfo/files.c, line 485
- external/gpl2/xcvs/dist/lib/glob.c, 2 times
- external/gpl2/xcvs/dist/src/acl.c, line 564
- external/gpl2/xcvs/dist/src/commit.c, line 365
- external/gpl2/xcvs/dist/src/expand_path.c, line 345
- external/gpl2/xcvs/dist/src/server.c, 2 times
- external/gpl3/gdb.old/dist/gnulib/import/glob.c, 2 times
- external/gpl3/gdb.old/dist/readline/readline/shell.c, line 166
- external/gpl3/gdb.old/dist/readline/readline/tilde.c, 2 times
- external/gpl3/gdb/dist/gnulib/import/glob.c, 2 times
- external/gpl3/gdb/dist/readline/readline/shell.c, line 166
- external/gpl3/gdb/dist/readline/readline/tilde.c, 2 times
- external/ibm-public/postfix/dist/src/global/mail_params.c, 2 times
- external/ibm-public/postfix/dist/src/global/mypwd.c, line 280
- external/ibm-public/postfix/dist/src/pipe/pipe.c, line 941
- external/ibm-public/postfix/dist/src/spawn/spawn.c, line 226
- external/ibm-public/postfix/dist/src/util/chroot_uid.c, line 56
- external/ibm-public/postfix/dist/src/util/dict_unix.c, line 85
- external/mit/libuv/dist/test/test-spawn.c, 3 times
- external/mpl/bind/dist/bin/confgen/unix/os.c, line 32
- external/mpl/bind/dist/bin/named/unix/os.c, line 428
- external/mpl/dhcp/dist/server/dhcpd.c, line 698
- games/canfield/cfscores/cfscores.c, line 93
- games/tetris/scores.c, line 818
- games/warp/intrp.c, line 140
- lib/libc/compat/gen/compat_getpwent.c, 2 times
- lib/libc/gen/glob.c, line 440
- lib/libc/gen/pwcache.c, 2 times
- lib/libc/posix1e/acl_from_text.c, line 288
- lib/libedit/filecomplete.c, line 109
- libexec/atrun/atrun.c, line 408
- libexec/comsat/comsat.c, line 265
- libexec/ftpd/ftpd.c, line 832
- libexec/httpd/bozohttpd.c, line 2675
- libexec/httpd/tilde-luzah-bozo.c, line 79
- libexec/identd/identd.c, 2 times
- libexec/mail.local/mail.local.c, line 116
- libexec/rlogind/rlogind.c, line 625
- libexec/rpc.rwalld/rwalld.c, line 83
- libexec/tftpd/tftpd.c, line 265
- sbin/fsdb/fsdb.c, line 1565
- sbin/init/init.c, line 696
- sbin/mount/fattr.c, line 74
- sbin/newfs/newfs.c, line 789
- tests/kernel/kqueue/t_proc2.c, line 65
- tests/lib/libc/c063/t_fchownat.c, line 60
- tests/lib/libc/sys/t_chroot.c, line 273
- tests/lib/libc/sys/t_issetugid.c, line 51
- tests/lib/libc/sys/t_kill.c, 2 times
- tests/lib/libc/sys/t_mkdir.c, line 120
- tests/lib/libc/sys/t_msgctl.c, 2 times
- tests/lib/libc/sys/t_msgsnd.c, line 274
- tests/lib/libc/sys/t_revoke.c, line 136
- usr.bin/at/at.c, line 290
- usr.bin/chpass/chpass.c, 2 times
- usr.bin/error/filter.c, line 85
- usr.bin/find/function.c, line 1868
- usr.bin/finger/finger.c, 2 times
- usr.bin/fstat/fstat.c, line 234
- usr.bin/ftp/main.c, line 472
- usr.bin/getent/getent.c, line 454
- usr.bin/id/id.c, line 344
- usr.bin/login/login.c, line 348
- usr.bin/mail/getname.c, line 68
- usr.bin/newsyslog/newsyslog.c, 2 times
- usr.bin/passwd/local_passwd.c, 2 times
- usr.bin/pkill/pkill.c, line 596
- usr.bin/quota/quota.c, line 238
- usr.bin/rdist/expand.c, 2 times
- usr.bin/rdist/server.c, line 1089
- usr.bin/renice/renice.c, line 96
- usr.bin/skeyinfo/skeyinfo.c, line 65
- usr.bin/skeyinit/skeyinit.c, 2 times
- usr.bin/su/su.c, 2 times
- usr.bin/telnet/commands.c, line 2249
- usr.bin/uudecode/uudecode.c, line 186
- usr.bin/vacation/vacation.c, line 241
- usr.bin/wall/wall.c, 2 times
- usr.sbin/apmd/apmd.c, line 362
- usr.sbin/chroot/chroot.c, line 102
- usr.sbin/edquota/edquota.c, line 143
- usr.sbin/inetd/inetd.c, line 579
- usr.sbin/lastlogin/lastlogin.c, 2 times
- usr.sbin/lpr/lpd/printjob.c, line 411
- usr.sbin/mountd/mountd.c, line 2087
- usr.sbin/puffs/mount_9p/nineproto.c, line 64
- usr.sbin/rpc.pcnfsd/pcnfsd_misc.c, 4 times
- usr.sbin/rpc.pcnfsd/pcnfsd_v2.c, line 366
- usr.sbin/rpcbind/rpcbind.c, line 251
- usr.sbin/rtadvd/rtadvd.c, line 249
- usr.sbin/rwhod/rwhod.c, line 616
- usr.sbin/sdpd/main.c, line 172
- usr.sbin/syslogd/syslogd.c, line 446
- usr.sbin/timed/timedc/timedc.c, line 270
- usr.sbin/user/user.c, 4 times