Defined in 3 files as a prototype:
Defined in 3 files as a macro:
Defined in 7 files as a function:
Referenced in 245 files:
- bin/ksh/jobs.c, line 1268
- bin/mv/mv.c, 2 times
- bin/pax/ar_io.c, line 422
- bin/rcp/util.c, line 141
- bin/sh/eval.c, line 1144
- bin/sh/jobs.c, line 1495
- crypto/dist/ipsec-tools/src/racoon/session.c, line 452
- crypto/external/bsd/heimdal/dist/kadmin/kadm_conn.c, 2 times
- crypto/external/bsd/heimdal/dist/kdc/connect.c, line 1025
- crypto/external/bsd/heimdal/dist/lib/hcrypto/rand-timer.c, line 153
- crypto/external/bsd/heimdal/dist/lib/kadm5/ipropd_common.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/kdfs/k5dfspag.c, line 320
- crypto/external/bsd/heimdal/dist/lib/roken/rkpty.c, line 291
- crypto/external/bsd/heimdal/dist/lib/roken/simple_exec.c, line 101
- crypto/external/bsd/openssh/dist/auth-pam.c, 3 times
- crypto/external/bsd/openssh/dist/auth.c, line 1006
- crypto/external/bsd/openssh/dist/misc.c, line 1768
- crypto/external/bsd/openssh/dist/monitor.c, line 1637
- crypto/external/bsd/openssh/dist/readconf.c, line 553
- crypto/external/bsd/openssh/dist/readpass.c, line 96
- crypto/external/bsd/openssh/dist/scp.c, 5 times
- crypto/external/bsd/openssh/dist/serverloop.c, line 402
- crypto/external/bsd/openssh/dist/sftp.c, 5 times
- crypto/external/bsd/openssh/dist/ssh.c, line 2217
- crypto/external/bsd/openssh/dist/sshconnect.c, 2 times
- crypto/external/bsd/openssh/dist/sshconnect2.c, line 1938
- crypto/external/bsd/openssh/dist/sshd.c, 2 times
- crypto/external/bsd/openssl/dist/apps/ocsp.c, line 939
- crypto/external/bsd/openssl/dist/test/drbgtest.c, line 697
- dist/pf/usr.sbin/authpf/authpf.c, line 706
- distrib/utils/ssh/ssh.c, 2 times
- external/bsd/am-utils/dist/amd/info_exec.c, line 328
- external/bsd/am-utils/dist/amd/sched.c, line 261
- external/bsd/am-utils/dist/hlfsd/homedir.c, line 293
- external/bsd/atf/dist/atf-c++/utils_test.cpp, 7 times
- external/bsd/atf/dist/atf-c/detail/process.c, line 277
- external/bsd/atf/dist/atf-c/detail/process_test.c, line 593
- external/bsd/atf/dist/atf-c/utils.c, line 386
- external/bsd/atf/dist/atf-c/utils_test.c, 7 times
- external/bsd/atf/dist/tools/io_test.cpp, line 412
- external/bsd/atf/dist/tools/process.cpp, line 458
- external/bsd/blacklist/port/popenve.c, line 268
- external/bsd/cron/dist/cron.c, line 516
- external/bsd/cron/dist/crontab.c, line 491
- external/bsd/cron/dist/do_command.c, 2 times
- external/bsd/cron/dist/popen.c, line 191
- external/bsd/dhcpcd/dist/src/script.c, line 639
- external/bsd/file/dist/src/compress.c, 2 times
- external/bsd/jemalloc/dist/test/unit/fork.c, line 12
- external/bsd/kyua-cli/dist/utils/process/child_test.cpp, line 284
- external/bsd/kyua-cli/dist/utils/process/status_test.cpp, line 84
- external/bsd/kyua-cli/dist/utils/process/system.cpp, line 58
- external/bsd/kyua-testers/dist/atf_result_test.c, 2 times
- external/bsd/kyua-testers/dist/fs.c, line 394
- external/bsd/kyua-testers/dist/fs_test.c, 2 times
- external/bsd/kyua-testers/dist/run.c, line 470
- external/bsd/libarchive/dist/libarchive/archive_read_support_filter_program.c, line 255
- external/bsd/libarchive/dist/libarchive/archive_write_add_filter_program.c, line 400
- external/bsd/libevent/dist/test/regress.c, line 940
- external/bsd/libevent/dist/test/regress_thread.c, line 221
- external/bsd/libevent/dist/test/tinytest.c, line 214
- external/bsd/libpcap/dist/rpcapd/rpcapd.c, line 764
- external/bsd/libproc/dist/proc_bkpt.c, line 62
- external/bsd/libproc/dist/proc_create.c, 2 times
- external/bsd/libproc/dist/proc_util.c, 2 times
- external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/exec/main.c, line 88
- external/bsd/llvm/dist/llvm/utils/unittest/googletest/src/gtest-death-test.cc, line 817
- external/bsd/mdocml/dist/main.c, line 651
- external/bsd/nsd/dist/server.c, 3 times
- external/bsd/nsd/dist/xfrd.c, 2 times
- external/bsd/ntp/dist/libntp/work_fork.c, line 192
- external/bsd/ntp/dist/sntp/libevent/test/regress.c, line 902
- external/bsd/ntp/dist/sntp/libevent/test/regress_thread.c, line 218
- external/bsd/ntp/dist/sntp/libevent/test/tinytest.c, line 215
- external/bsd/nvi/dist/common/recover.c, line 924
- external/bsd/nvi/dist/ex/ex_cscope.c, line 899
- external/bsd/nvi/dist/ex/ex_shell.c, line 163
- external/bsd/openldap/dist/servers/slapd/main.c, line 1136
- external/bsd/openpam/dist/bin/su/su.c, line 179
- external/bsd/pcc/dist/pcc/cc/cc/cc.c, line 1462
- external/bsd/pcc/dist/pcc/cc/driver/driver.c, line 214
- external/bsd/pcc/dist/pcc/f77/f77/f77.c, line 518
- external/bsd/pkg_install/dist/lib/fexec.c, line 90
- external/bsd/pkg_install/dist/lib/gpgsig.c, line 185
- external/bsd/ppp/dist/pppd/main.c, 3 times
- external/bsd/ppp/dist/pppd/plugins/passprompt.c, line 88
- external/bsd/tmux/dist/client.c, line 740
- external/bsd/tmux/dist/server.c, line 420
- external/bsd/unbound/dist/libunbound/libunbound.c, line 271
- external/bsd/unbound/dist/util/locks.c, line 137
- external/bsd/wpa/dist/src/utils/os_internal.c, line 566
- external/bsd/wpa/dist/src/utils/os_unix.c, line 830
- external/cddl/osnet/dist/cmd/dtrace/dtrace.c, line 433
- external/cddl/osnet/dist/cmd/ztest/ztest.c, line 6131
- external/cddl/osnet/dist/lib/libdtrace/common/dt_cc.c, line 1955
- external/gpl2/diffutils/dist/src/diff3.c, line 1258
- external/gpl2/diffutils/dist/src/sdiff.c, 2 times
- external/gpl2/diffutils/dist/src/util.c, line 296
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/wait-process.c, line 348
- external/gpl2/gmake/dist/job.c, line 122
- external/gpl2/lvm2/dist/daemons/cmirrord/clogd.c, line 200
- external/gpl2/lvm2/dist/daemons/dmeventd/dmeventd.c, line 1617
- external/gpl2/lvm2/dist/daemons/dmeventd/libdevmapper-event.c, line 445
- external/gpl2/lvm2/dist/test/harness.c, line 104
- external/gpl2/lvm2/dist/test/not.c, line 28
- external/gpl2/lvm2/dist/tools/dmsetup.c, line 1335
- external/gpl2/rcs/dist/src/rcsfnms.c, line 996
- external/gpl2/rcs/dist/src/rcsutil.c, line 1129
- external/gpl2/xcvs/dist/diff/util.c, line 311
- external/gpl2/xcvs/dist/src/buffer.c, line 2178
- external/gpl2/xcvs/dist/src/release.c, line 103
- external/gpl2/xcvs/dist/src/run.c, 2 times
- external/gpl2/xcvs/dist/src/server.c, 3 times
- external/gpl3/binutils/dist/libiberty/pex-unix.c, 4 times
- external/gpl3/gcc/dist/gcc/lto/lto.c, line 2332
- external/gpl3/gcc/dist/libcc1/libcc1.cc, line 549
- external/gpl3/gcc/dist/libcc1/libcp1.cc, line 573
- external/gpl3/gcc/dist/libiberty/pex-unix.c, 4 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_mac.cc, line 241
- external/gpl3/gdb/dist/gdb/cli/cli-cmds.c, line 751
- external/gpl3/gdb/dist/gdb/darwin-nat.c, line 1624
- external/gpl3/gdb/dist/gdb/fbsd-nat.c, line 1418
- external/gpl3/gdb/dist/gdb/gdbserver/lynx-low.c, 2 times
- external/gpl3/gdb/dist/gdb/gdbserver/nto-low.c, line 587
- external/gpl3/gdb/dist/gdb/gdbserver/spu-low.c, 4 times
- external/gpl3/gdb/dist/gdb/inf-ptrace.c, 4 times
- external/gpl3/gdb/dist/gdb/linux-fork.c, 2 times
- external/gpl3/gdb/dist/gdb/nat/linux-namespaces.c, line 730
- external/gpl3/gdb/dist/gdb/nat/linux-ptrace.c, line 182
- external/gpl3/gdb/dist/gdb/nat/linux-waitpid.c, line 88
- external/gpl3/gdb/dist/gdb/nbsd-nat.c, line 418
- external/gpl3/gdb/dist/gdb/nto-procfs.c, line 871
- external/gpl3/gdb/dist/gdb/obsd-nat.c, 2 times
- external/gpl3/gdb/dist/gdb/procfs.c, line 2834
- external/gpl3/gdb/dist/gdb/rs6000-nat.c, line 509
- external/gpl3/gdb/dist/gdb/spu-linux-nat.c, 4 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.arch/aarch64-dbreg-contents.c, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.base/inferior-died.c, line 35
- external/gpl3/gdb/dist/gdb/testsuite/gdb.cell/fork.c, line 66
- external/gpl3/gdb/dist/gdb/testsuite/gdb.multi/watchpoint-multi-exit.c, line 52
- external/gpl3/gdb/dist/gdb/testsuite/gdb.reverse/waitpid-reverse.c, line 41
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/clone-thread_db.c, line 58
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.c, line 66
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/process-dies-while-detaching.c, line 82
- external/gpl3/gdb/dist/gdb/utils.c, 2 times
- external/gpl3/gdb/dist/libiberty/pex-unix.c, 4 times
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/pipe2.c, line 132
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/pipe6.c, line 100
- external/ibm-public/postfix/dist/src/global/mail_run.c, line 103
- external/ibm-public/postfix/dist/src/global/pipe_command.c, line 369
- external/ibm-public/postfix/dist/src/master/master_spawn.c, line 302
- external/ibm-public/postfix/dist/src/postlock/postlock.c, line 262
- external/ibm-public/postfix/dist/src/postmulti/postmulti.c, line 1462
- external/ibm-public/postfix/dist/src/util/spawn_command.c, line 309
- external/ibm-public/postfix/dist/src/util/timed_wait.c, line 111
- external/ibm-public/postfix/dist/src/util/vstream_popen.c, line 303
- external/mpl/dhcp/dist/common/execute.c, line 252
- external/mpl/dhcp/dist/tests/t_api.c, line 344
- games/cribbage/instr.c, line 93
- games/fish/fish.c, line 476
- games/rogue/machdep.c, line 487
- games/wump/wump.c, line 782
- lib/libc/gen/arc4random.c, line 757
- lib/libc/gen/popen.c, line 298
- lib/libc/gen/utmpx.c, line 325
- lib/libc/gen/waitpid.c, 2 times
- lib/libc/gen/wordexp.c, 5 times
- lib/libc/net/rcmd.c, line 496
- lib/libc/stdlib/system.c, line 108
- lib/libedit/vi.c, line 1045
- lib/libpam/modules/pam_exec/pam_exec.c, line 135
- lib/libpam/modules/pam_ssh/pam_ssh.c, line 477
- lib/libutil/passwd.c, 2 times
- lib/libutil/ttyaction.c, line 146
- libexec/atrun/atrun.c, line 336
- libexec/ftpd/popen.c, line 236
- libexec/httpd/daemon-bozo.c, line 76
- libexec/lfs_cleanerd/coalesce.c, line 431
- libexec/makewhatis/makewhatis.c, 2 times
- libexec/rshd/rshd.c, line 621
- regress/sys/kern/getcwd/getcwd.c, line 315
- sbin/devpubd/devpubd.c, line 116
- sbin/fsck/fsck.c, line 383
- sbin/init/init.c, 8 times
- sbin/mount/mount.c, line 541
- sbin/mount_portal/puffs_portal.c, line 101
- sbin/newfs/newfs.c, line 736
- sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerUtilDarwin.cpp, line 118
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_mac.cc, line 280
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_solaris.cc, 2 times
- tests/fs/common/fstest_puffs.c, 2 times
- tests/fs/fifofs/t_fifo.c, line 197
- tests/kernel/kqueue/read/t_file.c, line 129
- tests/kernel/kqueue/read/t_ttypty.c, line 115
- tests/kernel/kqueue/t_proc1.c, line 147
- tests/kernel/kqueue/t_proc2.c, line 123
- tests/kernel/kqueue/t_proc3.c, line 76
- tests/kernel/kqueue/t_sig.c, line 124
- tests/kernel/kqueue/write/t_pipe.c, line 111
- tests/kernel/kqueue/write/t_ttypty.c, line 100
- tests/kernel/t_lockf.c, 2 times
- tests/kernel/t_proccwd.c, line 142
- tests/kernel/t_pty.c, line 96
- tests/kernel/t_zombie.c, 2 times
- tests/lib/libc/c063/t_fexecve.c, line 78
- tests/lib/libc/gen/posix_spawn/t_fileactions.c, 7 times
- tests/lib/libc/gen/posix_spawn/t_spawn.c, 3 times
- tests/lib/libc/gen/posix_spawn/t_spawnattr.c, line 162
- tests/lib/libc/sys/t_clone.c, line 133
- tests/lib/libc/sys/t_fork.c, 4 times
- tests/lib/libc/sys/t_kevent.c, line 138
- tests/lib/libc/sys/t_kill.c, 4 times
- tests/lib/libc/sys/t_pipe.c, line 152
- tests/lib/libc/sys/t_ptrace_wait.h, 2 times
- tests/lib/libc/sys/t_select.c, 2 times
- tests/lib/libc/sys/t_setrlimit.c, line 436
- tests/lib/libc/sys/t_sigaction.c, line 73
- tests/lib/libc/sys/t_wait_noproc.c, 6 times
- tests/lib/libpthread/t_fork.c, line 93
- tests/lib/librt/t_sem.c, 2 times
- tests/lib/libutil/t_pidfile.c, line 122
- tests/net/icmp/t_ping.c, line 438
- tests/net/mcast/mcast.c, line 368
- tests/net/net/t_unix.c, line 291
- usr.bin/apply/apply.c, line 245
- usr.bin/find/function.c, 3 times
- usr.bin/gcore/gcore.c, line 102
- usr.bin/ktrace/ktrace.c, line 372
- usr.bin/login/login_pam.c, line 524
- usr.bin/mail/popen.c, 2 times
- usr.bin/make/job.c, 3 times
- usr.bin/make/main.c, line 1680
- usr.bin/newsyslog/newsyslog.c, line 778
- usr.bin/patch/inp.c, 2 times
- usr.bin/rlogin/rlogin.c, line 414
- usr.bin/sdiff/edit.c, line 54
- usr.bin/sdiff/sdiff.c, line 330
- usr.bin/su/su_pam.c, line 412
- usr.bin/xargs/xargs.c, line 579
- usr.sbin/edquota/edquota.c, line 763
- usr.sbin/powerd/powerd.c, line 219
- usr.sbin/puffs/mount_psshfs/psshfs.c, line 396
- usr.sbin/sup/source/run.c, 2 times
- usr.sbin/sup/source/supfilesrv.c, line 544
- usr.sbin/syslogd/syslogd.c, line 4239