Defined in 3 files as a prototype:
Defined in 1 files as a macro:
Defined in 2 files as a function:
Referenced in 47 files:
- contrib/amd/libamu/xutil.c, line 1000
- contrib/apr/threadproc/unix/procsup.c, line 48
- contrib/bmake/job.c, line 1460
- contrib/ipfilter/ipsd/ipsd.c, line 285
- contrib/ipfilter/tools/ipfsyncd.c, line 160
- contrib/ipfilter/tools/ipmon.c, line 1761
- contrib/libreadline/examples/rlfe/rlfe.c, line 473
- contrib/llvm/tools/lldb/source/Host/common/PseudoTerminal.cpp, line 222
- contrib/llvm/tools/lldb/tools/lldb-server/lldb-gdbserver.cpp, line 460
- 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 373
- 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 376
- crypto/openssh/ssh-agent.c, line 1434
- crypto/openssh/sshd.c, line 1929
- crypto/openssh/sshpty.c
- lib/libc/gen/daemon.c, line 74
- lib/libcasper/libcasper/service.c, line 353
- lib/libutil/login_tty.c, line 51
- libexec/bootpd/bootpd.c, line 400
- libexec/bootpd/bootpgw/bootpgw.c, line 370
- libexec/pppoed/pppoed.c, line 443
- libexec/rshd/rshd.c, line 497
- release/picobsd/tinyware/oinit/oinit.c, line 887
- sbin/dhclient/dhclient.c, line 2791
- sbin/init/init.c
- sbin/shutdown/shutdown.c, line 240
- usr.sbin/bluetooth/btpand/btpand.c, line 252
- usr.sbin/cron/cron/do_command.c, line 244
- usr.sbin/cron/cron/popen.c, line 128
- usr.sbin/inetd/inetd.c, line 829
- 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