Defined in 3 files as a prototype:
Defined in 5 files as a macro:
Defined in 2 files as a function:
Referenced in 160 files:
- bin/csh/csh.c, line 238
- bin/ksh/main.c, line 279
- bin/ksh/misc.c, 2 times
- bin/sh/main.c, line 133
- bin/sh/options.c, line 180
- crypto/external/bsd/heimdal/dist/lib/roken/getegid.c, line 45
- crypto/external/bsd/heimdal/dist/lib/roken/issuid.c, line 212
- crypto/external/bsd/openssh/dist/getpeereid.c, line 52
- crypto/external/bsd/openssh/dist/ssh-agent.c, 2 times
- crypto/external/bsd/openssh/dist/ssh.c, line 646
- crypto/external/bsd/openssh/dist/uidswap.c, 2 times
- crypto/external/bsd/openssl.old/dist/crypto/uid.c, line 52
- crypto/external/bsd/openssl/dist/crypto/uid.c, line 52
- dist/pf/usr.sbin/authpf/authpf.c, line 696
- external/bsd/cron/dist/crontab.c, 2 times
- external/bsd/cron/dist/externs.h, line 86
- external/bsd/ipf/dist/tools/ipfstat.c, 2 times
- external/bsd/ipf/dist/tools/ipnat.c, 2 times
- external/bsd/kyua-cli/dist/utils/passwd_test.cpp, 3 times
- external/bsd/kyua-testers/dist/cli_test.c, line 58
- external/bsd/kyua-testers/dist/run.c, 6 times
- external/bsd/kyua-testers/dist/run_test.c, 9 times
- external/bsd/libarchive/dist/libarchive/archive_write_set_format_iso9660.c, 2 times
- external/bsd/libarchive/dist/libarchive/test/test_write_disk_perms.c, 2 times
- external/bsd/libbind/dist/isc/logging.c, line 638
- external/bsd/libevent/dist/evutil.c, line 2459
- external/bsd/nsd/dist/nsd.c, line 1413
- external/bsd/ntp/dist/sntp/libevent/evutil.c, line 2355
- external/bsd/ppp/dist/pppd/main.c, line 1686
- external/bsd/ppp/dist/pppd/options.c, line 1134
- external/bsd/ppp/dist/pppd/tty.c, line 927
- external/bsd/tcpdump/dist/tcpdump.c, 2 times
- external/bsd/top/dist/machine/m_sunos5.c, line 1221
- external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c, line 1486
- external/gpl2/gettext/dist/djgpp/getpwnam.c, line 28
- external/gpl2/gettext/dist/gettext-runtime/intl/dcigettext.c, 3 times
- external/gpl2/gmake/dist/misc.c, 3 times
- external/gpl2/grep/dist/intl/dcigettext.c, 3 times
- external/gpl2/texinfo/dist/intl/dcigettext.c, 3 times
- external/gpl2/xcvs/dist/src/admin.c, 2 times
- external/gpl2/xcvs/dist/src/run.c, 2 times
- external/gpl2/xcvs/dist/src/server.c, 3 times
- external/gpl2/xcvs/dist/src/tag.c, 2 times
- external/gpl3/binutils.old/dist/bfd/archive.c, 2 times
- external/gpl3/binutils.old/dist/intl/dcigettext.c, 3 times
- external/gpl3/binutils/dist/bfd/archive.c, 2 times
- external/gpl3/binutils/dist/bfd/coff-rs6000.c, 2 times
- external/gpl3/binutils/dist/gprofng/libcollector/linetrace.c, line 595
- external/gpl3/binutils/dist/intl/dcigettext.c, 3 times
- external/gpl3/gcc.old/dist/intl/dcigettext.c, 3 times
- external/gpl3/gcc.old/dist/libgfortran/intrinsics/getXid.c, 4 times
- external/gpl3/gcc.old/dist/libgfortran/runtime/environ.c, line 54
- external/gpl3/gcc.old/dist/libgomp/plugin/plugin-gcn.c, line 96
- external/gpl3/gcc.old/dist/libgomp/secure_getenv.h, line 51
- external/gpl3/gcc/dist/intl/dcigettext.c, 3 times
- external/gpl3/gcc/dist/libgfortran/intrinsics/getXid.c, 4 times
- external/gpl3/gcc/dist/libgfortran/runtime/environ.c, line 54
- external/gpl3/gcc/dist/libgomp/plugin/plugin-gcn.c, line 96
- external/gpl3/gcc/dist/libgomp/secure_getenv.h, line 51
- external/gpl3/gdb.old/dist/bfd/archive.c, 2 times
- external/gpl3/gdb.old/dist/gdb/aarch64-linux-tdep.c, line 1235
- external/gpl3/gdb.old/dist/gdb/darwin-nat.c, line 1721
- external/gpl3/gdb.old/dist/gdb/remote-fileio.c, line 952
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.reverse/recvmsg-reverse.c, line 79
- external/gpl3/gdb.old/dist/intl/dcigettext.c, 3 times
- external/gpl3/gdb.old/dist/sim/bfin/interp.c, 2 times
- external/gpl3/gdb.old/dist/sim/cris/traps.c, line 1618
- external/gpl3/gdb.old/dist/sim/m32r/traps-linux.c, line 448
- external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c, 2 times
- external/gpl3/gdb.old/dist/sim/ppc/emul_unix.c, 2 times
- external/gpl3/gdb/dist/bfd/archive.c, 2 times
- external/gpl3/gdb/dist/gdb/aarch64-linux-tdep.c, line 1235
- external/gpl3/gdb/dist/gdb/darwin-nat.c, line 1721
- external/gpl3/gdb/dist/gdb/remote-fileio.c, line 952
- external/gpl3/gdb/dist/gdb/testsuite/gdb.reverse/recvmsg-reverse.c, line 79
- external/gpl3/gdb/dist/intl/dcigettext.c, 3 times
- external/gpl3/gdb/dist/sim/bfin/interp.c, 2 times
- external/gpl3/gdb/dist/sim/cris/traps.c, line 1618
- external/gpl3/gdb/dist/sim/m32r/traps-linux.c, line 448
- 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, line 519
- external/ibm-public/postfix/dist/src/master/master_listen.c, 4 times
- external/ibm-public/postfix/dist/src/master/master_wakeup.c, line 148
- external/ibm-public/postfix/dist/src/sendmail/sendmail.c, line 1123
- external/ibm-public/postfix/dist/src/util/dict_stream.c, line 140
- external/ibm-public/postfix/dist/src/util/unsafe.c, line 78
- external/mit/libuv/dist/test/run-tests.c, line 257
- external/mit/libuv/dist/test/test-get-passwd.c, line 77
- external/mpl/bind/dist/bin/named/unix/os.c, line 708
- games/adventure/main.c, line 70
- games/arithmetic/arithmetic.c, line 117
- games/atc/main.c, line 95
- games/backgammon/backgammon/main.c, line 99
- games/backgammon/teachgammon/teach.c, line 61
- games/battlestar/battlestar.c, line 63
- games/bcd/bcd.c, line 135
- games/boggle/boggle/bog.c, line 138
- games/canfield/canfield/canfield.c, line 1649
- games/canfield/cfscores/cfscores.c, line 68
- games/ching/castching/castching.c, line 85
- games/cribbage/crib.c, line 87
- games/fish/fish.c, line 101
- games/gomoku/main.c, line 335
- games/hack/hack.main.c, line 549
- games/hack/hack.pager.c, line 451
- games/hangman/main.c, line 58
- games/larn/main.c, line 87
- games/mille/mille.c, line 60
- games/monop/monop.c, line 229
- games/morse/morse.c, line 130
- games/ppt/ppt.c, line 72
- games/quiz/quiz.c, line 84
- games/robots/main.c, line 80
- games/rogue/init.c, line 90
- games/sail/main.c, line 68
- games/snake/snake/snake.c, line 157
- games/snake/snscore/snscore.c, line 80
- games/tetris/tetris.c, line 142
- games/trek/main.c, line 168
- games/warp/intrp.c, line 571
- games/worm/worm.c, line 113
- games/wump/wump.c, line 146
- lib/libc/gmon/gmon.c, line 401
- lib/libc/stdlib/malloc.c, line 338
- lib/librmt/rmtlib.c, line 348
- lib/libutil/passwd.c, line 265
- lib/libutil/pty.c, line 97
- libexec/ld.elf_so/rtld.c, line 571
- libexec/tftpd/tftpd.c, line 174
- regress/sys/kern/unfdpass/unfdpass.c, line 311
- sbin/ccdconfig/ccdconfig.c, 2 times
- sbin/disklabel/main.c, line 1585
- sbin/mount_portal/pt_file.c, 3 times
- sys/rump/librump/rumpkern/rump_syscalls.c, line 903
- tests/lib/libc/gen/posix_spawn/h_spawn.c, 2 times
- tests/lib/libc/sys/t_getgroups.c, line 73
- tests/lib/libc/sys/t_msgctl.c, 2 times
- tests/lib/libc/sys/t_ptrace_core_wait.h, line 201
- tests/lib/libc/sys/t_stat.c, line 255
- usr.bin/at/privs.c, line 91
- usr.bin/chpass/edit.c, line 140
- usr.bin/fstat/fstat.c, 3 times
- usr.bin/id/id.c, 4 times
- usr.bin/mail/complete.c, line 433
- usr.bin/make/main.c, line 1401
- usr.bin/netstat/main.c, 3 times
- usr.bin/newgrp/grutil.c, 2 times
- usr.bin/pmap/main.c, 2 times
- usr.bin/quota/quota.c, 3 times
- usr.bin/systat/main.c, 3 times
- usr.bin/tip/tip.c, line 143
- usr.bin/wall/wall.c, line 95
- usr.bin/write/term_chk.c, line 79
- usr.bin/write/write.c, 2 times
- usr.sbin/edquota/edquota.c, 2 times
- usr.sbin/lpr/lpr/lpr.c, line 283
- usr.sbin/pstat/pstat.c, 3 times
- usr.sbin/sdpd/main.c, line 167
- usr.sbin/traceroute/traceroute.c, line 887