Defined in 3 files as a prototype:
Defined in 1 files as a macro:
Referenced in 113 files:
- bin/ksh/misc.c, line 327
- bin/sh/main.c, line 221
- bin/sh/options.c, line 177
- 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/auth.c, line 971
- crypto/external/bsd/openssh/dist/session.c, line 1238
- crypto/external/bsd/openssh/dist/ssh-agent.c, line 1119
- crypto/external/bsd/openssh/dist/uidswap.c, line 133
- 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/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 409
- external/bsd/cron/dist/popen.c, line 111
- 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 1082
- external/bsd/ntp/dist/ntpd/ntpd.c, line 698
- external/bsd/openldap/dist/servers/slapd/user.c, line 147
- external/bsd/openpam/dist/bin/su/su.c, line 166
- external/bsd/ppp/dist/pppd/main.c, 2 times
- external/bsd/ppp/dist/pppd/plugins/winbind.c, line 305
- external/bsd/ppp/dist/pppd/tty.c, line 951
- external/bsd/tcpdump/dist/tcpdump.c, 3 times
- external/bsd/unbound/dist/daemon/unbound.c, line 613
- external/bsd/wpa/dist/src/utils/os_unix.c, line 343
- 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/gdb/dist/gdb/aarch64-linux-tdep.c, line 1189
- 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/mpl/bind/dist/bin/named/unix/os.c, line 439
- 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 103
- games/gomoku/main.c, line 99
- 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 129
- games/ppt/ppt.c, line 72
- games/quiz/quiz.c, line 84
- games/robots/main.c, line 79
- games/snake/snake/snake.c, line 157
- games/snake/snscore/snscore.c, line 80
- games/trek/main.c, line 168
- 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 1619
- libexec/httpd/bozohttpd.c, line 2672
- 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 2108
- 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
- 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, 2 times
- usr.bin/rdist/server.c, line 1389
- usr.bin/su/su.c, line 343
- usr.bin/systat/main.c, line 174
- usr.bin/vmstat/vmstat.c, 3 times
- 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 752
- 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 446
- 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/sup/source/run.c, line 183
- usr.sbin/sup/source/supfilesrv.c, 2 times
- usr.sbin/syslogd/syslogd.c, line 552
- usr.sbin/timed/timedc/timedc.c, line 280
- usr.sbin/traceroute/traceroute.c, line 887