Defined in 4 files as a prototype:
Defined in 2 files as a macro:
Defined in 2 files as a function:
Referenced in 67 files:
- bin/ps/ps.c, line 261
- bin/sh/options.c
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c, line 1377
- contrib/apr/user/unix/userinfo.c, line 96
- contrib/binutils/bfd/archive.c
- contrib/gdb/gdb/remote-fileio.c, line 1133
- contrib/ipfilter/tools/ipfstat.c
- contrib/ipfilter/tools/ipnat.c
- contrib/libarchive/libarchive/archive_write_set_format_iso9660.c
- contrib/libarchive/libarchive/test/test_write_disk_perms.c
- contrib/llvm/tools/lldb/source/Host/posix/HostInfoPosix.cpp, line 123
- contrib/llvm/tools/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp, line 99
- contrib/llvm/tools/lldb/source/Plugins/Process/Darwin/DarwinProcessLauncher.cpp, line 172
- contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp, line 886
- contrib/ncurses/ncurses/tinfo/access.c, line 186
- contrib/netbsd-tests/lib/libc/sys/t_getgroups.c, line 76
- contrib/netbsd-tests/lib/libc/sys/t_msgctl.c
- contrib/netbsd-tests/lib/libc/sys/t_stat.c, line 255
- contrib/ntp/sntp/libevent/evutil.c, line 2353
- contrib/openbsm/bin/auditd/auditd.c, line 805
- contrib/openbsm/bin/auditdistd/sandbox.c, line 204
- contrib/openbsm/libauditd/auditd_lib.c
- contrib/openbsm/libbsm/bsm_token.c
- contrib/openbsm/libbsm/bsm_wrappers.c
- contrib/pf/authpf/authpf.c, line 805
- contrib/sendmail/editmap/editmap.c, line 120
- contrib/sendmail/libsm/mpeix.c, line 572
- contrib/sendmail/libsm/t-shm.c
- contrib/sendmail/makemap/makemap.c, line 126
- contrib/sendmail/praliases/praliases.c, line 76
- contrib/sendmail/src/deliver.c
- contrib/sendmail/src/main.c
- contrib/sendmail/src/recipient.c, line 1700
- contrib/sendmail/test/t_dropgid.c
- contrib/sendmail/test/t_setgid.c
- contrib/sendmail/vacation/vacation.c
- contrib/tcpdump/tcpdump.c
- contrib/tcsh/sh.c, line 371
- crypto/heimdal/lib/roken/getegid.c, line 43
- crypto/heimdal/lib/roken/issuid.c, line 50
- crypto/openssh/openbsd-compat/bsd-getpeereid.c, line 67
- crypto/openssh/ssh-agent.c
- crypto/openssh/uidswap.c
- crypto/openssl/crypto/rand/rand_unix.c, line 183
- crypto/openssl/crypto/uid.c, line 84
- lib/libc/gen/posix_spawn.c, line 115
- lib/libutil/pw_util.c, line 313
- release/picobsd/tinyware/passwd/pw_util.c, line 210
- sbin/bsdlabel/bsdlabel.c, line 716
- sbin/ccdconfig/ccdconfig.c, line 293
- sys/compat/linux/linux_misc.c
- sys/security/audit/bsm_token.c
- tools/regression/security/cap_test/cap_test_capmode.c, line 148
- tools/regression/sockets/unix_cmsg/unix_cmsg.c, line 410
- usr.bin/at/privs.h, line 76
- usr.bin/bluetooth/btsockstat/btsockstat.c
- usr.bin/chpass/edit.c, line 193
- usr.bin/id/id.c
- usr.bin/netstat/main.c
- usr.bin/quota/quota.c, line 155
- usr.bin/tip/tip/tip.c, line 74
- usr.bin/wall/wall.c, line 240
- usr.sbin/bluetooth/sdpd/main.c, line 162
- usr.sbin/cron/crontab/crontab.c
- usr.sbin/edquota/edquota.c
- usr.sbin/lpr/lpr/lpr.c, line 308
- usr.sbin/trpt/trpt.c