Defined in 2 files as a prototype:
Defined in 1 files as a macro:
Defined in 2 files as a function:
Referenced in 48 files:
- contrib/apr/threadproc/unix/procsup.c, line 48
- contrib/bmake/job.c, line 1412
- contrib/capsicum-test/capmode.cc, line 279
- contrib/ipfilter/tools/ipfsyncd.c, line 160
- contrib/ipfilter/tools/ipmon.c, line 1723
- contrib/kyua/utils/process/child.cpp
- contrib/libpcap/rpcapd/rpcapd.c, line 431
- contrib/llvm-project/lldb/source/Host/common/PseudoTerminal.cpp, line 211
- contrib/llvm-project/lldb/tools/lldb-server/lldb-gdbserver.cpp, line 451
- contrib/netbsd-tests/kernel/t_pty.c, line 195
- contrib/netbsd-tests/lib/libc/net/h_dns_server.c, line 238
- contrib/netbsd-tests/lib/libc/sys/t_getlogin.c
- contrib/ntp/ntpd/ntpd.c
- contrib/ntp/ntpsnmpd/netsnmp_daemonize.c, line 221
- contrib/ntp/parseutil/dcfd.c, line 1205
- contrib/nvi/ex/ex_script.c, line 149
- contrib/ofed/opensm/opensm/main.c, line 533
- contrib/sendmail/src/deliver.c
- contrib/sendmail/src/main.c, line 3450
- contrib/unbound/daemon/unbound.c, line 403
- crypto/heimdal/appl/telnet/telnetd/sys_term.c, line 834
- crypto/heimdal/lib/roken/daemon.c, line 64
- crypto/heimdal/lib/roken/rkpty.c, line 357
- crypto/openssh/openbsd-compat/daemon.c, line 65
- crypto/openssh/session.c, line 470
- crypto/openssh/ssh-agent.c, line 1308
- crypto/openssh/sshd.c, line 2027
- crypto/openssh/sshpty.c, line 111
- lib/libc/gen/daemon.c, line 74
- lib/libcasper/libcasper/service.c, line 374
- lib/libutil/login_tty.c, line 48
- libexec/bootpd/bootpd.c, line 404
- libexec/bootpd/bootpgw/bootpgw.c, line 374
- libexec/pppoed/pppoed.c, line 445
- sbin/dhclient/dhclient.c, line 2828
- sbin/init/init.c
- sbin/shutdown/shutdown.c, line 245
- sys/contrib/openzfs/cmd/zed/zed.c, line 150
- sys/contrib/openzfs/tests/zfs-tests/cmd/mkbusy/mkbusy.c, line 59
- tests/sys/audit/process-control.c
- usr.sbin/bluetooth/btpand/btpand.c, line 252
- usr.sbin/cron/cron/do_command.c, line 258
- usr.sbin/cron/cron/popen.c, line 129
- usr.sbin/inetd/inetd.c, line 842
- usr.sbin/jail/command.c, line 683
- usr.sbin/ppp/bundle.c, line 1767
- usr.sbin/ppp/main.c, line 513
- usr.sbin/syslogd/syslogd.c