Defined in 4 files as a prototype:
Defined in 3 files as a macro:
Defined in 7 files as a function:
Referenced in 150 files:
- bin/csh/csh.c, line 1225
- bin/csh/file.c, line 362
- bin/ksh/eval.c, line 1288
- bin/pax/sel_subs.c, line 144
- bin/ps/ps.c, line 339
- bin/sh/expand.c, line 442
- crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c, line 1299
- crypto/external/bsd/heimdal/dist/kdc/main.c, line 88
- crypto/external/bsd/heimdal/dist/lib/roken/getxxyyy.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/roken/k_getpwnam.c, line 48
- crypto/external/bsd/openssh/dist/auth.c, line 618
- crypto/external/bsd/openssh/dist/auth2-pubkey.c, 2 times
- crypto/external/bsd/openssh/dist/misc.c, line 1000
- crypto/external/bsd/openssh/dist/servconf.c, line 1107
- 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 193
- 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/blacklist/bin/conf.c, line 354
- 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/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 1196
- external/bsd/nsd/dist/nsd.c, line 840
- external/bsd/ntp/dist/ntpd/ntpd.c, line 650
- external/bsd/openldap/dist/libraries/liblutil/passwd.c, line 992
- 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 77
- external/bsd/openpam/dist/bin/su/su.c, line 133
- external/bsd/openpam/dist/modules/pam_unix/pam_unix.c, line 88
- external/bsd/ppp/dist/pppd/session.c, line 317
- external/bsd/smbfs/dist/lib/smb/ctx.c, line 399
- external/bsd/tcpdump/dist/tcpdump.c, line 602
- external/bsd/top/dist/username.c, line 143
- external/bsd/unbound/dist/daemon/unbound.c, line 432
- external/bsd/unbound/dist/smallapp/unbound-checkconf.c, line 624
- external/bsd/unbound/dist/util/config_file.c, line 1982
- 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/dist/gdb/gnulib/import/glob.c, 2 times
- external/gpl3/gdb/dist/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 926
- external/ibm-public/postfix/dist/src/spawn/spawn.c, line 224
- 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/mpl/bind/dist/bin/confgen/unix/os.c, line 33
- external/mpl/bind/dist/bin/named/unix/os.c, line 416
- external/mpl/dhcp/dist/server/dhcpd.c, line 698
- games/canfield/cfscores/cfscores.c, line 93
- games/tetris/scores.c, line 818
- lib/libc/compat/gen/compat_getpwent.c, 2 times
- lib/libc/gen/glob.c, line 440
- lib/libc/gen/pwcache.c, 2 times
- 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/getty/main.c, line 212
- libexec/httpd/bozohttpd.c, line 2667
- 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 1254
- sbin/init/init.c, line 694
- sbin/mount/fattr.c, line 74
- sbin/newfs/newfs.c, line 783
- 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 1866
- usr.bin/finger/finger.c, 2 times
- usr.bin/fstat/fstat.c, line 229
- usr.bin/ftp/main.c, line 460
- 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 587
- 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 2245
- 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 688
- usr.sbin/lastlogin/lastlogin.c, 2 times
- usr.sbin/lpr/lpd/printjob.c, line 411
- usr.sbin/mountd/mountd.c, line 2052
- 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 250
- usr.sbin/rtadvd/rtadvd.c, line 260
- usr.sbin/rwhod/rwhod.c, line 616
- usr.sbin/sdpd/main.c, line 172
- usr.sbin/sup/source/expand.c, line 398
- usr.sbin/sup/source/supcmisc.c, 2 times
- usr.sbin/sup/source/supfilesrv.c, 2 times
- usr.sbin/syslogd/syslogd.c, line 426
- usr.sbin/timed/timedc/timedc.c, line 270
- usr.sbin/user/user.c, 4 times