Defined in 1 files as a variable:
Defined in 2 files as a struct:
Defined in 4 files as a prototype:
Defined in 3 files as a member:
Defined in 5 files as a function:
Referenced in 268 files:
- bin/kill/kill.c, line 149
- bin/ls/print.c, line 710
- bin/pax/ar_io.c, line 342
- bin/pkill/pkill.c, line 643
- bin/sh/error.c, line 123
- bin/sh/jobs.c, 5 times
- bin/sh/trap.c, line 550
- cddl/compat/opensolaris/misc/fsshare.c, line 64
- cddl/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/badioctl.c, line 77
- contrib/apr/include/apr_lib.h, line 96
- contrib/apr/threadproc/unix/procsup.c, line 94
- contrib/apr/threadproc/unix/signals.c, line 48
- contrib/atf/atf-c++/detail/process.cpp, line 292
- contrib/atf/atf-c/detail/process_helpers.c, line 54
- contrib/atf/atf-c/detail/process_test.c, 5 times
- contrib/atf/test-programs/c_helpers.c, 4 times
- contrib/atf/test-programs/cpp_helpers.cpp, 3 times
- contrib/binutils/bfd/cache.c, 16 times
- contrib/binutils/bfd/elf64-alpha.c, 3 times
- contrib/bmake/compat.c, 2 times
- contrib/bmake/job.c, line 638
- contrib/bmake/make.h, line 701
- contrib/bmake/util.c, 2 times
- contrib/capsicum-test/capmode.cc, 2 times
- contrib/capsicum-test/capsicum-test.h, line 90
- contrib/capsicum-test/linux.cc, 2 times
- contrib/capsicum-test/procdesc.cc, 4 times
- contrib/diff/lib/c-stack.c, line 130
- contrib/diff/src/sdiff.c, 2 times
- contrib/gdb/gdb/event-top.c, 2 times
- contrib/gdb/gdb/gdbserver/target.h, line 149
- contrib/gdb/gdb/inflow.c, 2 times
- contrib/gdb/gdb/inftarg.c, 2 times
- contrib/gdb/gdb/lin-lwp.c, line 590
- contrib/gdb/gdb/maint.c, 2 times
- contrib/gdb/gdb/procfs.c, 2 times
- contrib/gdb/gdb/ser-pipe.c, line 130
- contrib/gdb/gdb/top.c, 2 times
- contrib/kyua/cli/main.cpp, line 292
- contrib/kyua/engine/scheduler_test.cpp, 2 times
- contrib/kyua/integration/helpers/bogus_test_cases.cpp, line 42
- contrib/kyua/integration/helpers/expect_all_pass.cpp, line 69
- contrib/kyua/integration/helpers/expect_some_fail.cpp, line 71
- contrib/kyua/utils/process/executor_test.cpp, 2 times
- contrib/kyua/utils/process/operations.cpp, 2 times
- contrib/kyua/utils/process/status_test.cpp, line 66
- contrib/kyua/utils/sanity.cpp, line 99
- contrib/kyua/utils/sanity_test.cpp, line 261
- contrib/kyua/utils/signals/interrupts_test.cpp, 6 times
- contrib/kyua/utils/signals/misc_test.cpp, line 75
- contrib/kyua/utils/signals/programmer_test.cpp, 8 times
- contrib/less/edit.c, line 165
- contrib/less/signal.c, line 233
- contrib/libarchive/libarchive_fe/passphrase.c, line 297
- contrib/libedit/readline.c, line 1859
- contrib/libedit/sig.c, line 110
- contrib/libevent/test/regress.gen.c, 21 times
- contrib/libevent/test/regress.gen.h, 29 times
- contrib/libevent/test/regress_rpc.c, 44 times
- contrib/libpcap/optimize.c, 2 times
- contrib/libpcap/rpcapd/rpcapd.c, line 644
- contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp, 4 times
- contrib/llvm-project/lldb/source/Host/common/Host.cpp, line 616
- contrib/llvm-project/lldb/source/Host/posix/HostProcessPosix.cpp, line 46
- contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp, 2 times
- contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp, 2 times
- contrib/llvm-project/lldb/tools/driver/Driver.cpp, 2 times
- contrib/llvm-project/llvm/include/llvm/CodeGen/LiveRangeCalc.h, 2 times
- contrib/llvm-project/llvm/lib/CodeGen/ExecutionDomainFix.cpp, 6 times
- contrib/llvm-project/llvm/lib/Target/AMDGPU/SIInsertSkips.cpp, line 436
- contrib/llvm-project/llvm/lib/Transforms/Scalar/SROA.cpp, 4 times
- contrib/mandoc/main.c, 2 times
- contrib/mandoc/tag.c, line 293
- contrib/ncurses/ncurses/tty/lib_tstp.c, line 216
- contrib/netbsd-tests/dev/sysmon/t_swwdog.c, 2 times
- contrib/netbsd-tests/fs/common/fstest_nfs.c, 2 times
- contrib/netbsd-tests/fs/common/fstest_puffs.c, 3 times
- contrib/netbsd-tests/fs/nfs/t_mountd.c, line 101
- contrib/netbsd-tests/kernel/kqueue/t_sig.c, line 82
- contrib/netbsd-tests/kernel/t_lockf.c, 2 times
- contrib/netbsd-tests/lib/libc/gen/t_pause.c, line 99
- contrib/netbsd-tests/lib/libc/gen/t_siginfo.c, line 279
- contrib/netbsd-tests/lib/libc/setjmp/t_setjmp.c, line 131
- contrib/netbsd-tests/lib/libc/setjmp/t_threadjmp.c, line 139
- contrib/netbsd-tests/lib/libc/stdlib/h_atexit.c, line 101
- contrib/netbsd-tests/lib/libc/sys/t_kill.c, 6 times
- contrib/netbsd-tests/lib/libc/sys/t_mkfifo.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_msgrcv.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_msgsnd.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_pipe.c, line 61
- contrib/netbsd-tests/lib/libc/sys/t_select.c, 3 times
- contrib/netbsd-tests/lib/libc/sys/t_sigaction.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_sigqueue.c, line 53
- contrib/netbsd-tests/lib/libc/sys/t_wait.c, 7 times
- contrib/netbsd-tests/lib/libpthread/h_atexit.c, line 92
- contrib/netbsd-tests/lib/libpthread/t_sigmask.c, 5 times
- contrib/netbsd-tests/net/bpfilter/t_bpfilter.c, line 295
- contrib/netbsd-tests/net/icmp/t_ping.c, 3 times
- contrib/netbsd-tests/net/mcast/mcast.c, line 376
- contrib/netbsd-tests/rump/rumpkern/h_client/h_stresscli.c, 2 times
- contrib/ntp/lib/isc/unix/app.c, 2 times
- contrib/ntp/libntp/work_fork.c, line 168
- contrib/ntp/sntp/libevent/test/regress.gen.c, 21 times
- contrib/ntp/sntp/libevent/test/regress.gen.h, 29 times
- contrib/ntp/sntp/libevent/test/regress_rpc.c, 44 times
- contrib/nvi/cl/cl_funcs.c, 2 times
- contrib/nvi/cl/cl_main.c, line 140
- contrib/nvi/ex/ex_cscope.c, line 933
- contrib/openbsm/bin/auditdistd/auditdistd.c, 2 times
- contrib/openbsm/bin/auditdistd/proto_tls.c, 3 times
- contrib/opie/libopie/lock.c, line 185
- contrib/opie/libopie/readpass.c, 7 times
- contrib/opie/libopie/unlock.c, line 81
- contrib/pf/authpf/authpf.c, 2 times
- contrib/pf/pflogd/privsep.c, line 300
- contrib/sendmail/libsm/assert.c, line 85
- contrib/sendmail/libsm/clock.c, 2 times
- contrib/sendmail/src/util.c, 2 times
- contrib/subversion/subversion/libsvn_subr/cmdline.c, line 1810
- contrib/subversion/subversion/libsvn_subr/prompt.c, line 416
- contrib/tcp_wrappers/safe_finger.c, line 48
- contrib/tcsh/sh.c, line 2544
- contrib/tcsh/sh.func.c, line 2392
- contrib/tcsh/sh.proc.c, 3 times
- contrib/tcsh/tc.sig.h, 5 times
- contrib/telnet/telnet/commands.c, line 1324
- contrib/unbound/daemon/unbound.c, line 370
- crypto/heimdal/appl/telnet/telnet/commands.c, line 1252
- crypto/heimdal/appl/telnet/telnetd/sys_term.c, line 1731
- crypto/heimdal/lib/kafs/afssys.c, 2 times
- crypto/heimdal/lib/roken/simple_exec.c, line 110
- crypto/openssh/auth-pam.c, 2 times
- crypto/openssh/auth.c, line 1000
- crypto/openssh/clientloop.c, line 606
- crypto/openssh/monitor.c, line 387
- crypto/openssh/mux.c, line 1462
- crypto/openssh/openbsd-compat/bsd-misc.c, line 299
- crypto/openssh/openbsd-compat/readpassphrase.c, line 178
- crypto/openssh/readconf.c, line 530
- crypto/openssh/sandbox-systrace.c, 2 times
- crypto/openssh/scp.c, 3 times
- crypto/openssh/sftp.c, 3 times
- crypto/openssh/ssh-agent.c, line 1212
- crypto/openssh/sshconnect.c, line 266
- crypto/openssh/sshd.c, 3 times
- crypto/openssl/apps/ocsp.c, line 892
- gnu/usr.bin/gdb/gdbserver/fbsd-low.c, 3 times
- lib/libc/compat-43/killpg.c, line 52
- lib/libc/gen/readpassphrase.c, line 172
- lib/libc/secure/stack_protector.c, line 130
- lib/libpam/modules/pam_ssh/pam_ssh.c, line 439
- lib/libpmcstat/libpmcstat_process.c, line 293
- lib/libproc/proc_bkpt.c, line 86
- lib/libproc/proc_util.c, 3 times
- lib/libproc/tests/target_prog.c, line 77
- lib/libutil/pw_util.c, 3 times
- lib/libutil/tests/flopen_test.c, line 176
- lib/libutil/tests/pidfile_test.c, 2 times
- lib/libutil/uucplock.c, line 99
- lib/libvgl/main.c, line 127
- libexec/atrun/atrun.c, line 116
- libexec/tftpd/tests/functional.c, line 258
- sbin/dump/main.c, line 696
- sbin/dump/tape.c, 4 times
- sbin/hastd/control.c, 2 times
- sbin/hastd/hastd.c, 2 times
- sbin/hastd/hooks.c, line 306
- sbin/init/init.c, 12 times
- sbin/ipfw/main.c, line 570
- sbin/mount/mount.c, line 228
- sbin/reboot/reboot.c, 5 times
- sbin/shutdown/shutdown.c, 2 times
- sys/contrib/openzfs/cmd/zed/zed_exec.c, line 175
- sys/contrib/openzfs/cmd/ztest/ztest.c, line 966
- sys/contrib/openzfs/lib/libshare/os/freebsd/nfs.c, line 436
- sys/contrib/openzfs/lib/libzfs/libzfs_crypto.c, line 336
- sys/contrib/openzfs/tests/zfs-tests/cmd/user_ns_exec/user_ns_exec.c, 4 times
- sys/netpfil/pf/pf_ioctl.c, 4 times
- tests/sys/audit/process-control.c, 2 times
- tests/sys/fifo/fifo_open.c, 9 times
- tests/sys/file/flock_helper.c, 14 times
- tests/sys/fs/fusefs/xattr.cc, line 58
- tests/sys/kern/kern_descrip_test.c, line 108
- tests/sys/kern/kill_zombie.c, line 51
- tests/sys/kern/ptrace_test.c, 13 times
- tests/sys/kern/reaper.c, line 472
- tests/sys/kern/waitpid_nohang.c, line 54
- tests/sys/kqueue/libkqueue/proc.c, 7 times
- tests/sys/kqueue/libkqueue/signal.c, 6 times
- tests/sys/mqueue/mqtest3.c, line 105
- tests/sys/mqueue/mqtest5.c, line 115
- tests/sys/posixshm/posixshm_test.c, line 849
- tools/regression/netinet/tcpdrop/tcpdrop.c, 13 times
- tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c, 10 times
- tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c, 5 times
- tools/regression/p1003_1b/fifo.c, line 70
- tools/regression/poll/pipepoll.c, 13 times
- tools/regression/poll/pipeselect.c, 13 times
- tools/regression/priv/priv_sched_rtprio.c, line 317
- tools/regression/priv/priv_sched_setpriority.c, line 161
- tools/regression/security/proc_to_proc/scenario.c, 3 times
- tools/regression/sigqueue/sigqtest2/sigqtest2.c, 2 times
- tools/regression/sockets/sblock/sblock.c, 4 times
- tools/regression/sockets/sendfile/sendfile.c, 2 times
- tools/regression/sockets/unix_close_race/unix_close_race.c, 4 times
- tools/regression/sockets/unix_sendtorace/unix_sendtorace.c, 2 times
- tools/regression/sockets/unix_sorflush/unix_sorflush.c, 2 times
- tools/test/popss/popss.c, line 103
- tools/test/ptrace/scescx.c, 2 times
- tools/tools/net80211/wesside/wesside/wesside.c, line 306
- tools/tools/netrate/http/http.c, 2 times
- tools/tools/netrate/httpd/httpd.c, line 184
- tools/tools/netrate/juggle/juggle.c, 4 times
- tools/tools/netrate/tcpp/tcpp_client.c, line 301
- tools/tools/netrate/tcpp/tcpp_server.c, line 301
- usr.bin/bc/tty.c, line 63
- usr.bin/fetch/fetch.c, line 1179
- usr.bin/fstat/fuser.c, line 273
- usr.bin/killall/killall.c, line 425
- usr.bin/lockf/lockf.c, line 210
- usr.bin/mail/collect.c, line 664
- usr.bin/mail/lex.c, line 569
- usr.bin/mail/tty.c, line 281
- usr.bin/morse/morse.c, line 671
- usr.bin/msgs/msgs.c, line 712
- usr.bin/su/su.c, 2 times
- usr.bin/talk/display.c, 3 times
- usr.bin/talk/init_disp.c, 6 times
- usr.bin/time/time.c, line 211
- usr.bin/timeout/timeout.c, 2 times
- usr.bin/tip/libacu/dn11.c, 3 times
- usr.bin/tip/libacu/v831.c, 3 times
- usr.bin/tip/tip/cmds.c, 9 times
- usr.bin/tip/tip/tip.c, line 268
- usr.bin/tip/tip/tipout.c, line 115
- usr.bin/tip/tip/uucplock.c, line 94
- usr.bin/top/commands.c, line 448
- usr.bin/top/top.c, line 748
- usr.bin/truss/main.c, line 186
- usr.bin/truss/setup.c, 2 times
- usr.sbin/bluetooth/btpand/btpand.c, line 249
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c, line 536
- usr.sbin/cron/cron/do_command.c, line 617
- usr.sbin/daemon/daemon.c, line 562
- usr.sbin/dconschat/dconschat.c, line 185
- usr.sbin/jail/command.c, line 868
- usr.sbin/lpr/common_source/displayq.c, line 176
- usr.sbin/lpr/common_source/rmjob.c, 2 times
- usr.sbin/lpr/filters.ru/koi2855/koi2855.c, line 86
- usr.sbin/lpr/filters.ru/koi2alt/koi2alt.c, line 87
- usr.sbin/lpr/filters/lpf.c, line 164
- usr.sbin/lpr/lpc/cmds.c, line 336
- usr.sbin/lpr/lpd/printjob.c, 4 times
- usr.sbin/newsyslog/newsyslog.c, line 1991
- usr.sbin/nfscbd/nfscbd.c, line 348
- usr.sbin/nfsd/nfsd.c, 2 times
- usr.sbin/nfsuserd/nfsuserd.c, line 814
- usr.sbin/pmc/pmc_util.c, line 115
- usr.sbin/pmcstat/pmcstat.c, line 247
- usr.sbin/pmcstudy/pmcstudy.c, line 161
- usr.sbin/ppp/chap.c, line 352
- usr.sbin/ppp/id.c, line 261
- usr.sbin/ppp/id.h, line 74
- usr.sbin/ppp/main.c, line 159
- usr.sbin/syslogd/syslogd.c, 4 times
- usr.sbin/uhsoctl/uhsoctl.c, 2 times
- usr.sbin/ypbind/ypbind.c, 2 times