Defined in 4 files as a prototype:
Defined in 2 files as a macro:
Defined in 2 files as a function:
Referenced in 171 files:
- bin/csh/csh.c, line 151
- bin/csh/func.c, line 1309
- bin/ksh/main.c, line 264
- bin/pax/file_subs.c, line 847
- bin/sh/exec.c, line 647
- bin/sh/main.c, 2 times
- bin/sh/var.c, 2 times
- bin/test/test.c, 2 times
- common/lib/libc/arch/arm/gen/__aeabi_idiv0.c, line 57
- common/lib/libc/arch/arm/gen/__aeabi_ldiv0.c, line 57
- crypto/dist/ipsec-tools/src/racoon/main.c, line 270
- crypto/dist/ipsec-tools/src/racoon/privsep.c, 11 times
- crypto/dist/ipsec-tools/src/racoon/safefile.c, line 56
- crypto/external/bsd/heimdal/dist/kdc/main.c, line 75
- crypto/external/bsd/heimdal/dist/lib/krb5/fcache.c, line 518
- crypto/external/bsd/heimdal/dist/lib/krb5/replay.c, line 314
- crypto/external/bsd/heimdal/dist/lib/roken/iruserok.c, line 251
- crypto/external/bsd/heimdal/dist/lib/roken/issuid.c, line 208
- crypto/external/bsd/openssh/dist/getpeereid.c, line 51
- crypto/external/bsd/openssh/dist/session.c, 2 times
- crypto/external/bsd/openssh/dist/ssh.c, line 599
- crypto/external/bsd/openssh/dist/sshd.c, line 436
- crypto/external/bsd/openssh/dist/uidswap.c, 3 times
- crypto/external/bsd/openssl/dist/crypto/uid.c, line 46
- crypto/external/cpl/trousers/dist/src/tspi/ps/tspps.c, line 85
- external/apache2/mDNSResponder/dist/Clients/dnsctl.c, line 168
- external/bsd/am-utils/dist/amd/amd.c, 2 times
- external/bsd/am-utils/dist/hlfsd/hlfsd.c, 2 times
- external/bsd/atf/dist/atf-c/detail/fs_test.c, line 680
- external/bsd/atf/dist/atf-c/detail/user.c, 3 times
- external/bsd/atf/dist/atf-c/detail/user_test.c, 3 times
- external/bsd/atf/dist/tools/user.cpp, 3 times
- external/bsd/atf/dist/tools/user_test.cpp, 3 times
- external/bsd/cron/dist/crontab.c, line 95
- external/bsd/dhcpcd/dist/src/control.c, line 232
- external/bsd/libarchive/dist/cpio/cpio.c, line 180
- external/bsd/libarchive/dist/libarchive/archive_write_disk_posix.c, line 1991
- external/bsd/libarchive/dist/libarchive/test/test_extattr_freebsd.c, line 125
- external/bsd/libarchive/dist/tar/bsdtar.c, line 216
- external/bsd/libevent/dist/evutil.c, line 2383
- external/bsd/ntp/dist/include/timepps-SCO.h, line 497
- external/bsd/ntp/dist/include/timepps-Solaris.h, line 563
- external/bsd/ntp/dist/include/timepps-SunOS.h, line 498
- external/bsd/ntp/dist/ntpd/ntpd.c, line 754
- external/bsd/ntp/dist/sntp/libevent/evutil.c, line 2351
- external/bsd/nvi/dist/ex/ex_init.c, line 360
- external/bsd/openldap/dist/libraries/libldap/cyrus.c, line 512
- external/bsd/openldap/dist/libraries/libldap/init.c, line 692
- external/bsd/openpam/dist/lib/libpam/openpam_borrow_cred.c, 5 times
- external/bsd/openpam/dist/lib/libpam/openpam_check_owner_perms.c, 2 times
- external/bsd/openpam/dist/lib/libpam/openpam_restore_cred.c, line 80
- external/bsd/ppp/dist/pppd/auth.c, line 436
- external/bsd/ppp/dist/pppd/main.c, line 392
- external/bsd/ppp/dist/pppd/options.c, 2 times
- external/bsd/smbfs/dist/lib/smb/ctx.c, line 103
- external/bsd/smbfs/dist/lib/smb/subr.c, line 322
- external/bsd/tcpdump/dist/tcpdump.c, 4 times
- external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c, line 1485
- external/cddl/osnet/include/priv.h, line 44
- external/gpl2/gettext/dist/gettext-runtime/intl/dcigettext.c, 2 times
- external/gpl2/gmake/dist/misc.c, 3 times
- external/gpl2/grep/dist/intl/dcigettext.c, 2 times
- external/gpl2/lvm2/dist/tools/lvmcmdline.c, 2 times
- external/gpl2/rcs/dist/src/rcsutil.c, 2 times
- external/gpl2/texinfo/dist/intl/dcigettext.c, 2 times
- external/gpl2/xcvs/dist/src/commit.c, line 361
- external/gpl2/xcvs/dist/src/filesubr.c, line 264
- external/gpl2/xcvs/dist/src/server.c, 4 times
- external/gpl3/binutils/dist/intl/dcigettext.c, 2 times
- external/gpl3/gcc/dist/intl/dcigettext.c, 2 times
- external/gpl3/gcc/dist/libgomp/plugin/plugin-hsa.c, line 58
- external/gpl3/gdb/dist/gdb/aarch64-linux-tdep.c, line 1220
- external/gpl3/gdb/dist/gdb/gnulib/import/secure_getenv.c, line 38
- external/gpl3/gdb/dist/intl/dcigettext.c, 2 times
- external/gpl3/gdb/dist/sim/bfin/interp.c, line 1089
- external/gpl3/gdb/dist/sim/cris/traps.c, line 1606
- external/gpl3/gdb/dist/sim/m32r/traps-linux.c, line 454
- 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/global/dot_lockfile_as.c, 2 times
- external/ibm-public/postfix/dist/src/global/mail_conf.c, line 189
- external/ibm-public/postfix/dist/src/global/mark_corrupt.c, line 58
- external/ibm-public/postfix/dist/src/global/pipe_command.c, line 337
- external/ibm-public/postfix/dist/src/postalias/postalias.c, line 324
- external/ibm-public/postfix/dist/src/postdrop/postdrop.c, line 298
- external/ibm-public/postfix/dist/src/postmap/postmap.c, line 399
- external/ibm-public/postfix/dist/src/postqueue/postqueue.c, 3 times
- external/ibm-public/postfix/dist/src/posttls-finger/posttls-finger.c, line 1953
- external/ibm-public/postfix/dist/src/qmqpd/qmqpd_peer.c, 2 times
- external/ibm-public/postfix/dist/src/sendmail/sendmail.c, line 1049
- external/ibm-public/postfix/dist/src/smtpd/smtpd_peer.c, 2 times
- external/ibm-public/postfix/dist/src/smtpstone/smtp-sink.c, line 1612
- external/ibm-public/postfix/dist/src/util/casefold.c, line 313
- external/ibm-public/postfix/dist/src/util/lstat_as.c, line 55
- external/ibm-public/postfix/dist/src/util/open_as.c, line 52
- external/ibm-public/postfix/dist/src/util/set_eugid.c, line 60
- external/ibm-public/postfix/dist/src/util/set_eugid.h, line 26
- external/ibm-public/postfix/dist/src/util/set_ugid.c, line 51
- external/ibm-public/postfix/dist/src/util/stat_as.c, line 55
- external/ibm-public/postfix/dist/src/util/unsafe.c, line 51
- external/mpl/bind/dist/bin/named/unix/os.c, line 638
- external/mpl/dhcp/dist/server/db.c, line 1175
- external/mpl/dhcp/dist/server/dhcpd.c, 3 times
- external/public-domain/sqlite/dist/sqlite3.c, line 32853
- external/public-domain/xz/dist/src/xz/file_io.c, line 106
- games/larn/main.c, line 239
- lib/libc/gen/getpwent.c, 2 times
- lib/libc/gen/utmpx.c, line 252
- lib/libc/gmon/gmon.c, line 391
- lib/libc/net/rcmd.c, line 701
- lib/libc/rpc/auth_unix.c, line 201
- lib/libc/rpc/rpcb_clnt.c, 2 times
- lib/libc/sys/sigqueue.c, line 57
- lib/libcompat/4.4/cuserid.c, line 53
- lib/libm/softfloat/feraiseexcept.c, line 60
- lib/libpam/modules/pam_krb5/pam_krb5.c, line 417
- lib/libpam/modules/pam_ksu/pam_ksu.c, line 218
- lib/libpuffs/puffs.c, line 520
- libexec/ftpd/cmds.c, 2 times
- libexec/ld.elf_so/rtld.c, line 566
- libexec/rpc.rwalld/rwalld.c, line 82
- libexec/utmp_update/utmp_update.c, line 84
- regress/sys/kern/getcwd/getcwd.c, 2 times
- regress/sys/kern/latency1/latency1.c, line 97
- regress/sys/kern/latency2/latency2.c, line 101
- regress/sys/kern/unfdpass/unfdpass.c, line 310
- sbin/mount_portal/pt_file.c, 3 times
- sbin/mount_qemufwcfg/fwcfg.c, line 229
- sbin/newfs/mkfs.c, 7 times
- sbin/newfs_ext2fs/mke2fs.c, 4 times
- sbin/reboot/reboot.c, line 140
- sbin/routed/main.c, line 245
- sbin/routed/rtquery/rtquery.c, line 334
- sbin/shutdown/shutdown.c, line 121
- sys/rump/librump/rumpkern/rump_syscalls.c, line 500
- tests/kernel/t_sysv.c, 3 times
- tests/lib/libc/sys/t_msgget.c, line 156
- tests/lib/libc/sys/t_ptrace_wait.c, line 7656
- tests/lib/libc/sys/t_ptrace_wait.h, line 535
- tests/lib/libc/sys/t_setuid.c, line 70
- tests/net/net/t_unix.c, 2 times
- usr.bin/at/perm.c, line 88
- usr.bin/at/privs.c, 2 times
- usr.bin/calendar/calendar.c, 2 times
- usr.bin/find/function.c, line 475
- usr.bin/id/id.c, 3 times
- usr.bin/login/login.c, line 498
- usr.bin/login/login_pam.c, line 418
- usr.bin/newsyslog/newsyslog.c, line 201
- usr.bin/skeyinfo/skeyinfo.c, line 57
- usr.bin/skeyinit/skeyinit.c, line 74
- usr.bin/tip/tip.c, line 82
- usr.bin/wall/wall.c, line 108
- usr.bin/whereis/whereis.c, line 69
- usr.sbin/fusermount/fusermount.c, line 125
- usr.sbin/isibootd/isibootd.c, line 159
- usr.sbin/lpr/lpc/lpc.c, line 96
- usr.sbin/lpr/lpd/lpd.c, line 156
- usr.sbin/lpr/lpq/lpq.c, line 83
- usr.sbin/lpr/lpr/lpr.c, line 131
- usr.sbin/lpr/lprm/lprm.c, line 91
- usr.sbin/map-mbone/mapper.c, line 819
- usr.sbin/mrinfo/mrinfo.c, line 328
- usr.sbin/mrouted/main.c, line 114
- usr.sbin/mtrace/mtrace.c, line 1158
- usr.sbin/puffs/mount_psshfs/psshfs.c, line 231
- usr.sbin/puffs/mount_sysctlfs/sysctlfs.c, line 348
- usr.sbin/route6d/route6d.c, line 331
- usr.sbin/rpcbind/rpcbind.c, line 184
- usr.sbin/user/user.c, line 329
- usr.sbin/ypserv/ypserv/ypserv.c, line 336