Defined in 1 files as a prototype:
Defined in 2 files as a macro:
Defined in 2 files as a function:
Referenced in 74 files:
- bin/df/df.c
- bin/ln/ln.c
- bin/mv/mv.c, line 384
- bin/pax/file_subs.c
- bin/rm/rm.c
- bin/rmdir/rmdir.c
- contrib/apr/file_io/unix/dir.c, line 345
- contrib/atf/atf-c/detail/fs.c, line 855
- contrib/binutils/binutils/objcopy.c
- contrib/capsicum-test/capability-fd.cc
- contrib/capsicum-test/capmode.cc
- contrib/capsicum-test/capsicum-test-main.cc, line 78
- contrib/capsicum-test/linux.cc, line 516
- contrib/capsicum-test/openat.cc
- contrib/capsicum-test/rename.cc, line 47
- contrib/googletest/googletest/include/gtest/internal/gtest-port.h, line 2494
- contrib/kyua/utils/fs/auto_cleaners.cpp
- contrib/kyua/utils/fs/auto_cleaners_test.cpp
- contrib/kyua/utils/fs/operations.cpp
- contrib/kyua/utils/fs/operations_test.cpp
- contrib/libarchive/libarchive/archive_write_disk_posix.c
- contrib/libarchive/libarchive/test/main.c, line 3202
- contrib/libarchive/test_utils/test_main.c, line 4100
- contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp, line 166
- contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
- contrib/mandoc/mandocdb.c, line 2244
- contrib/mandoc/test-mkdtemp.c, line 11
- contrib/mtree/verify.c, line 153
- contrib/netbsd-tests/fs/common/fstest_puffs.c, line 448
- contrib/netbsd-tests/fs/puffs/h_dtfs/dtfs.c, line 200
- contrib/netbsd-tests/kernel/kqueue/t_vnode.c
- contrib/netbsd-tests/kernel/t_sysv.c
- contrib/netbsd-tests/lib/libc/sys/t_mkdir.c
- contrib/openbsm/bin/auditdistd/receiver.c, line 557
- contrib/openbsm/bin/auditdistd/unlinkat.h, line 55
- contrib/opie/opieftpd.c
- contrib/pjdfstest/pjdfstest.c, line 809
- contrib/sendmail/src/mci.c, line 1504
- contrib/sqlite3/sqlite3.c, line 34026
- contrib/wpa/hostapd/ctrl_iface.c
- contrib/wpa/hs20/client/osu_client.c, line 296
- contrib/wpa/wpa_supplicant/ctrl_iface_unix.c, line 835
- crypto/heimdal/appl/ftp/ftpd/ftpd.c
- crypto/openssh/clientloop.c
- crypto/openssh/session.c
- crypto/openssh/sftp-server.c, line 1139
- crypto/openssh/ssh-agent.c, line 1044
- lib/libc/stdio/remove.c, line 54
- libexec/flua/modules/lfs.c
- libexec/ftpd/ftpd.c
- sbin/fsck_ffs/pass2.c, line 465
- sbin/restore/utilities.c, line 169
- sys/contrib/openzfs/lib/libzfs/libzfs_mount.c, line 1022
- sys/contrib/openzfs/module/os/linux/zfs/zpl_ctldir.c, line 415
- sys/contrib/openzfs/module/os/linux/zfs/zpl_inode.c, line 680
- tests/sys/audit/file-delete.c
- tests/sys/fifo/fifo_create.c, line 84
- tests/sys/fifo/fifo_io.c, line 97
- tests/sys/fifo/fifo_misc.c, line 60
- tests/sys/fifo/fifo_open.c, line 96
- tests/sys/fs/fusefs/mockfs.cc, line 469
- tests/sys/fs/fusefs/rmdir.cc
- tools/regression/priv/priv_vfs_stickyfile.c, line 181
- tools/regression/security/cap_test/cap_test_capabilities.c
- tools/regression/security/open_to_operation/open_to_operation.c
- tools/regression/sockets/unix_bindconnect/unix_bindconnect.c, line 80
- tools/regression/sockets/unix_cmsg/unix_cmsg.c, line 447
- tools/regression/sockets/unix_gc/unix_gc.c, line 771
- tools/tools/syscall_timing/syscall_timing.c, line 1163
- usr.bin/find/function.c, line 466
- usr.bin/mktemp/mktemp.c, line 128
- usr.bin/xinstall/xinstall.c
- usr.sbin/acpi/acpidump/acpi.c, line 2229
- usr.sbin/fmtree/verify.c, line 142