Defined in 4 files as a prototype:
Defined in 1 files as a macro:
Defined in 8 files as a function:
Referenced in 35 files:
- cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/tst.fds.c, line 64
- contrib/netbsd-tests/lib/libc/gen/posix_spawn/t_fileactions.c, line 310
- contrib/netbsd-tests/lib/libc/gen/t_assert.c
- contrib/netbsd-tests/lib/libc/gen/t_closefrom.c
- contrib/netbsd-tests/lib/libc/sys/t_dup.c, line 315
- contrib/netbsd-tests/lib/libc/sys/t_pipe2.c
- contrib/netbsd-tests/lib/libc/sys/t_socketpair.c
- contrib/netbsd-tests/lib/librumphijack/h_client.c, line 119
- contrib/netbsd-tests/rump/rumpkern/h_client/h_reconcli.c, line 39
- contrib/ntp/libntp/ntp_worker.c, line 107
- contrib/openbsm/bin/auditdistd/proto_tls.c
- contrib/pf/pflogd/pflogd.c, line 654
- contrib/sendmail/src/conf.c, line 5351
- contrib/tnftp/src/cmds.c, line 1441
- crypto/heimdal/lib/roken/rkpty.c, line 363
- crypto/heimdal/lib/roken/simple_exec.c, line 197
- crypto/openssh/auth.c, line 966
- crypto/openssh/openbsd-compat/regress/closefromtest.c
- crypto/openssh/readconf.c, line 519
- crypto/openssh/session.c
- crypto/openssh/ssh.c, line 618
- crypto/openssh/sshconnect2.c, line 1854
- crypto/openssh/sshd.c
- lib/libcasper/libcasper/service.c, line 413
- sbin/devd/devd.cc, line 263
- sbin/hastd/hooks.c
- sys/compat/freebsd32/freebsd32_sysent.c, line 587
- sys/kern/init_sysent.c, line 567
- tests/sys/audit/file-close.c, line 162
- tests/sys/file/closefrom_test.c
- usr.bin/login/login.c, line 245
- usr.sbin/jail/command.c, line 748
- usr.sbin/lpr/common_source/common.c, line 771
- usr.sbin/rtsold/cap_script.c, line 77
- usr.sbin/syslogd/syslogd.c, line 3675