Defined in 3 files as a prototype:
Defined in 3 files as a macro:
Defined in 5 files as a function:
Referenced in 136 files:
- bin/rcp/rcp.c, line 145
- bin/sh/expand.c, line 440
- bin/sh/var.c, line 1534
- crypto/external/bsd/heimdal/dist/lib/roken/k_getpwuid.c, line 48
- crypto/external/bsd/openssh/dist/misc.c, line 1004
- crypto/external/bsd/openssh/dist/scp.c, line 505
- crypto/external/bsd/openssh/dist/sftp-server-main.c, line 49
- crypto/external/bsd/openssh/dist/ssh-add.c, line 715
- crypto/external/bsd/openssh/dist/ssh-keygen.c, line 2443
- crypto/external/bsd/openssh/dist/ssh-keysign.c, line 193
- crypto/external/bsd/openssh/dist/ssh.c, line 605
- dist/pf/usr.sbin/authpf/authpf.c, line 129
- distrib/utils/libhack/getpwent.c, line 57
- external/bsd/am-utils/dist/fsinfo/fsinfo.c, line 202
- external/bsd/cron/dist/crontab.c, line 186
- external/bsd/fetch/dist/libfetch/common.c, line 896
- external/bsd/kyua-cli/dist/utils/passwd.cpp, line 156
- external/bsd/kyua-cli/dist/utils/passwd_test.cpp, 2 times
- external/bsd/libarchive/dist/cpio/cpio.c, line 1400
- external/bsd/libarchive/dist/libarchive/archive_read_disk_set_standard_lookup.c, line 237
- external/bsd/libbind/dist/irs/getpwent_r.c, 2 times
- external/bsd/llvm/dist/llvm/unittests/Support/Path.cpp, line 332
- external/bsd/nsd/dist/nsd.c, line 832
- external/bsd/ntp/dist/ntpd/ntpd.c, line 637
- external/bsd/nvi/dist/common/recover.c, line 365
- external/bsd/nvi/dist/ex/ex_cd.c, line 69
- external/bsd/openldap/dist/servers/slapd/user.c, line 70
- external/bsd/ppp/dist/pppd/auth.c, line 2355
- external/bsd/ppp/dist/pppd/eap.c, line 1214
- external/bsd/ppp/dist/pppd/main.c, line 467
- external/bsd/ppp/dist/pppd/options.c, line 512
- external/bsd/smbfs/dist/lib/smb/ctx.c, line 104
- external/bsd/tmux/dist/tmux.c, 2 times
- external/bsd/top/dist/username.c, line 116
- external/cddl/osnet/dist/cmd/zfs/zfs_main.c, 4 times
- external/cddl/osnet/dist/cmd/zpool/zpool_main.c, line 5240
- external/gpl2/gettext/dist/gettext-tools/src/msginit.c, line 992
- external/gpl2/rcs/dist/src/rcsutil.c, line 369
- external/gpl2/texinfo/dist/info/tilde.c, line 199
- external/gpl2/xcvs/dist/src/filesubr.c, line 850
- external/gpl2/xcvs/dist/src/lock.c, line 1039
- external/gpl2/xcvs/dist/src/subr.c, line 327
- external/gpl3/gdb/dist/gdb/nat/linux-osdata.c, line 208
- external/gpl3/gdb/dist/readline/shell.c, 2 times
- external/gpl3/gdb/dist/readline/tilde.c, line 60
- external/ibm-public/postfix/dist/src/global/mail_params.c, line 457
- external/ibm-public/postfix/dist/src/global/mypwd.c, line 217
- external/ibm-public/postfix/dist/src/util/dict_unix.c, line 89
- external/ibm-public/postfix/dist/src/util/fullname.c, line 75
- external/ibm-public/postfix/dist/src/util/username.c, line 46
- external/mpl/bind/dist/bin/named/unix/os.c, line 414
- external/public-domain/sqlite/dist/shell.c, line 15784
- games/atc/log.c, line 197
- games/battlestar/init.c, line 84
- games/canfield/cfscores/cfscores.c, line 81
- games/dm/dm.c, line 319
- games/larn/main.c, line 99
- games/phantasia/main.c, line 317
- games/robots/score.c, line 200
- games/rogue/machdep.c, line 317
- games/sail/lo_main.c, 2 times
- games/sail/main.c, line 87
- games/snake/snake/snake.c, line 554
- games/snake/snscore/snscore.c, line 102
- games/tetris/scores.c, line 725
- lib/libc/compat/gen/compat_getpwent.c, 2 times
- lib/libc/gen/glob.c, line 426
- lib/libc/gen/pwcache.c, 2 times
- lib/libedit/filecomplete.c, line 100
- lib/libedit/readline.c, line 228
- libexec/atrun/atrun.c, line 188
- libexec/ftpd/ftpd.c, line 1305
- libexec/identd/identd.c, 2 times
- libexec/mail.local/mail.local.c, line 117
- libexec/tftpd/tftpd.c, line 263
- libexec/utmp_update/utmp_update.c, line 119
- sbin/dump/dumprmt.c, line 118
- sbin/fsck_ext2fs/inode.c, line 647
- sbin/fsck_ffs/inode.c, line 665
- sbin/fsck_lfs/inode.c, line 552
- sbin/fsdb/fsdbutil.c, line 161
- sbin/mount/mount.c, line 595
- sbin/mount_tmpfs/mount_tmpfs.c, line 260
- 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/msan/tests/msan_test.cc, 2 times
- usr.bin/at/at.c, 2 times
- usr.bin/at/perm.c, line 94
- usr.bin/calendar/calendar.c, line 205
- usr.bin/chpass/chpass.c, 2 times
- usr.bin/error/filter.c, line 81
- usr.bin/from/from.c, line 97
- usr.bin/ftp/main.c, line 462
- usr.bin/getent/getent.c, line 452
- usr.bin/id/id.c, 6 times
- usr.bin/lock/lock.c, line 118
- usr.bin/mail/getname.c, line 54
- usr.bin/msgs/msgs.c, line 365
- usr.bin/newgrp/grutil.c, line 114
- usr.bin/newgrp/newgrp.c, line 76
- usr.bin/newsyslog/newsyslog.c, line 902
- usr.bin/passwd/pam_passwd.c, line 80
- usr.bin/quota/quota.c, line 218
- usr.bin/rdist/main.c, line 94
- usr.bin/rdist/server.c, line 358
- usr.bin/rlogin/rlogin.c, line 209
- usr.bin/rsh/rsh.c, line 150
- usr.bin/rwall/rwall.c, line 170
- usr.bin/skeyinfo/skeyinfo.c, line 63
- usr.bin/skeyinit/skeyinit.c, line 98
- usr.bin/sockstat/sockstat.c, line 570
- usr.bin/stat/stat.c, line 760
- usr.bin/su/su.c, line 188
- usr.bin/talk/get_names.c, line 73
- usr.bin/telnet/commands.c, line 2246
- usr.bin/vacation/vacation.c, line 235
- usr.bin/wall/wall.c, line 197
- usr.bin/who/who.c, line 254
- usr.bin/write/write.c, line 226
- usr.sbin/lastlogin/lastlogin.c, 2 times
- usr.sbin/ldpd/ldp_command.c, line 120
- usr.sbin/lpr/lpd/printjob.c, line 1218
- usr.sbin/lpr/lpr/lpr.c, line 272
- usr.sbin/lpr/lprm/lprm.c, line 97
- usr.sbin/mountd/mountd.c, line 2050
- usr.sbin/mtree/create.c, line 120
- usr.sbin/mtree/specspec.c, line 82
- usr.sbin/puffs/mount_9p/nineproto.c, line 88
- usr.sbin/puffs/mount_9p/ninepuffs.c, line 196
- usr.sbin/quot/quot.c, line 263
- usr.sbin/repquota/repquota.c, line 520
- usr.sbin/rpc.pcnfsd/pcnfsd_v2.c, line 351
- usr.sbin/sup/source/supcmain.c, line 666
- usr.sbin/sup/source/supfilesrv.c, 2 times
- usr.sbin/user/user.c, 4 times