Defined in 4 files as a prototype:
Defined in 1 files as a macro:
Referenced in 118 files:
- bin/ksh/misc.c, line 327
- bin/sh/main.c, line 224
- bin/sh/options.c, line 180
- crypto/dist/ipsec-tools/src/racoon/privsep.c, line 257
- crypto/external/bsd/heimdal/dist/kdc/main.c, line 96
- crypto/external/bsd/openssh/dist/misc.c, line 2675
- crypto/external/bsd/openssh/dist/session.c, line 1238
- crypto/external/bsd/openssh/dist/ssh-agent.c, line 2044
- crypto/external/bsd/openssh/dist/uidswap.c, line 132
- dist/pf/libexec/tftp-proxy/tftp-proxy.c, line 136
- dist/pf/sbin/pflogd/privsep.c, line 111
- dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c, line 286
- external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c, line 227
- external/bsd/am-utils/dist/hlfsd/homedir.c, 6 times
- external/bsd/atf/dist/tools/user.cpp, line 57
- external/bsd/cron/dist/crontab.c, line 466
- external/bsd/cron/dist/do_command.c, line 414
- external/bsd/cron/dist/popen.c, line 111
- external/bsd/dhcpcd/dist/src/privsep.c, line 138
- external/bsd/ipf/dist/tools/ipfstat.c, 2 times
- external/bsd/ipf/dist/tools/ipnat.c, 2 times
- external/bsd/kyua-testers/dist/run.c, line 343
- external/bsd/nsd/dist/nsd.c, line 1707
- external/bsd/ntp/dist/ntpd/ntpd.c, line 759
- external/bsd/openldap/dist/servers/slapd/user.c, line 142
- external/bsd/openpam/dist/bin/su/su.c, line 164
- external/bsd/ppp/dist/pppd/main.c, 2 times
- external/bsd/ppp/dist/pppd/tty.c, line 927
- external/bsd/tcpdump/dist/tcpdump.c, 3 times
- external/bsd/unbound/dist/daemon/unbound.c, line 664
- external/bsd/wpa/dist/src/utils/os_unix.c, line 351
- external/gpl2/gmake/dist/misc.c, 4 times
- external/gpl2/xcvs/dist/src/run.c, line 247
- external/gpl2/xcvs/dist/src/server.c, 2 times
- external/gpl3/binutils/dist/gprofng/libcollector/linetrace.c, 2 times
- external/gpl3/gdb.old/dist/gdb/aarch64-linux-tdep.c, line 1203
- external/gpl3/gdb.old/dist/sim/bfin/interp.c, line 457
- external/gpl3/gdb/dist/gdb/aarch64-linux-tdep.c, line 1203
- external/gpl3/gdb/dist/sim/bfin/interp.c, line 457
- external/ibm-public/postfix/dist/src/util/chroot_uid.c, line 60
- external/ibm-public/postfix/dist/src/util/set_ugid.c, line 54
- external/mit/libuv/dist/src/unix/process.c, line 365
- external/mit/libuv/dist/test/test-spawn.c, 2 times
- external/mpl/bind/dist/bin/named/unix/os.c, line 454
- external/mpl/dhcp/dist/server/dhcpd.c, line 1045
- 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/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/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/snake/snake/snake.c, line 157
- games/snake/snscore/snscore.c, line 80
- 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/libpam/modules/pam_ssh/pam_ssh.c, line 308
- lib/librmt/rmtlib.c, line 348
- lib/libutil/login_cap.c, line 607
- lib/libutil/passwd.c, line 265
- lib/libwrap/options.c, line 279
- libexec/atrun/atrun.c, line 129
- libexec/comsat/comsat.c, line 267
- libexec/ftpd/ftpd.c, line 1617
- libexec/httpd/bozohttpd.c, line 2680
- libexec/identd/identd.c, line 253
- libexec/rexecd/rexecd.c, 2 times
- libexec/rshd/rshd.c, line 700
- libexec/tftpd/tftpd.c, line 307
- sbin/disklabel/main.c, line 1585
- sbin/mount_portal/pt_file.c, line 81
- sys/rump/librump/rumpkern/rump_syscalls.c, line 2138
- tests/lib/libc/gen/t_getgrent.c, line 154
- tests/lib/libc/sys/t_getgroups.c, line 118
- tests/lib/libc/sys/t_issetugid.c, line 121
- tests/net/net/t_unix.c, line 281
- usr.bin/calendar/calendar.c, line 633
- usr.bin/fstat/fstat.c, 2 times
- usr.bin/login/login.c, line 588
- usr.bin/netstat/main.c, 2 times
- usr.bin/newgrp/grutil.c, line 335
- usr.bin/newgrp/newgrp.c, 2 times
- usr.bin/pmap/main.c, line 253
- usr.bin/rdist/server.c, line 1389
- usr.bin/su/su.c, line 345
- usr.bin/systat/main.c, line 178
- usr.bin/whereis/whereis.c, line 72
- usr.bin/write/write.c, line 114
- usr.sbin/chroot/chroot.c, line 181
- usr.sbin/edquota/edquota.c, line 751
- usr.sbin/inetd/inetd.c, 2 times
- usr.sbin/lpr/lpd/printjob.c, 2 times
- usr.sbin/pstat/pstat.c, 2 times
- usr.sbin/rpc.pcnfsd/pcnfsd_misc.c, line 444
- usr.sbin/rtadvd/prog_ops.h, line 75
- usr.sbin/rtadvd/rtadvd_hostops.c, line 32
- usr.sbin/rwhod/rwhod.c, line 630
- usr.sbin/sdpd/main.c, line 197
- usr.sbin/syslogd/syslogd.c, line 572
- usr.sbin/timed/timedc/timedc.c, line 280
- usr.sbin/traceroute/traceroute.c, line 887