Defined in 3 files as a prototype:
Defined in 1 files as a macro:
Defined in 2 files as a function:
Referenced in 46 files:
- contrib/amd/libamu/xutil.c, line 1000
- contrib/apr/threadproc/unix/procsup.c, line 48
- contrib/bmake/job.c, line 1460
- contrib/capsicum-test/capmode.cc, line 279
- contrib/ipfilter/tools/ipfsyncd.c, line 160
- contrib/ipfilter/tools/ipmon.c, line 1720
- contrib/llvm/tools/lldb/source/Host/common/PseudoTerminal.cpp, line 228
- contrib/llvm/tools/lldb/tools/lldb-server/lldb-gdbserver.cpp, line 454
- 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 151
- contrib/ofed/opensm/opensm/main.c, line 533
- contrib/sendmail/src/deliver.c
- contrib/sendmail/src/main.c, line 3419
- contrib/unbound/daemon/unbound.c, line 390
- 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 2028
- 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
- release/picobsd/tinyware/oinit/oinit.c, line 887
- sbin/dhclient/dhclient.c, line 2827
- sbin/init/init.c
- sbin/shutdown/shutdown.c, line 245
- tests/sys/audit/process-control.c
- usr.sbin/bluetooth/btpand/btpand.c, line 252
- usr.sbin/cron/cron/do_command.c, line 255
- usr.sbin/cron/cron/popen.c, line 128
- usr.sbin/inetd/inetd.c, line 844
- usr.sbin/jail/command.c, line 682
- usr.sbin/ppp/bundle.c, line 1770
- usr.sbin/ppp/main.c, line 513
- usr.sbin/syslogd/syslogd.c