Defined in 1 files as a prototype:
Defined in 3 files as a macro:
Referenced in 119 files:
- bin/cp/cp.c, line 384
- bin/cp/utils.c, line 414
- bin/mkdir/mkdir.c, line 127
- contrib/apr/file_io/unix/filestat.c, line 179
- contrib/atf/atf-c++/detail/fs_test.cpp, 14 times
- contrib/atf/atf-c++/utils_test.cpp, line 184
- contrib/atf/atf-c/detail/fs_test.c, 17 times
- contrib/atf/atf-c/utils_test.c, line 191
- contrib/binutils/bfd/opncls.c, 2 times
- contrib/binutils/binutils/ar.c, line 908
- contrib/binutils/binutils/objcopy.c, line 1306
- contrib/binutils/binutils/rename.c, 2 times
- contrib/bsnmp/snmpd/trans_lsock.c, 2 times
- contrib/byacc/main.c, line 568
- contrib/capsicum-test/capmode.cc, line 71
- contrib/gdb/gdb/remote-mips.c, line 3040
- contrib/hyperv/tools/hv_kvp_daemon.c, line 297
- contrib/kyua/engine/atf_test.cpp, line 256
- contrib/kyua/store/migrate_test.cpp, 2 times
- contrib/kyua/utils/fs/operations.cpp, line 564
- contrib/kyua/utils/fs/operations_test.cpp, 4 times
- contrib/kyua/utils/stacktrace_test.cpp, 2 times
- contrib/libarchive/libarchive/archive_write_disk_posix.c, 2 times
- contrib/libarchive/libarchive/test/main.c, 2 times
- contrib/libarchive/libarchive/test/test_extattr_freebsd.c, line 127
- contrib/libarchive/tar/test/test_option_fflags.c, line 73
- contrib/libarchive/test_utils/test_main.c, 2 times
- contrib/llvm-project/libcxx/src/filesystem/operations.cpp, line 1090
- contrib/netbsd-tests/lib/libc/c063/t_o_search.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_mkfifo.c, line 228
- contrib/netbsd-tests/lib/libc/sys/t_mmap.c, line 391
- contrib/ntp/lib/isc/unix/fsaccess.c, line 89
- contrib/ntp/lib/isc/unix/socket.c, line 5000
- contrib/ntp/lib/isc/win32/dir.c, line 270
- contrib/nvi/cl/cl_term.c, 2 times
- contrib/nvi/common/exf.c, line 838
- contrib/nvi/common/recover.c, 2 times
- contrib/ofed/opensm/opensm/osm_sa.c, line 570
- contrib/opie/libopie/open.c, line 45
- contrib/opie/opielogin.c, line 1298
- contrib/opie/permsfile.c, line 141
- contrib/pjdfstest/pjdfstest.c, line 954
- contrib/sendmail/src/control.c, line 140
- contrib/sendmail/src/deliver.c, line 5880
- contrib/sqlite3/shell.c, 4 times
- contrib/telnet/telnetd/sys_term.c, line 899
- contrib/tnftp/src/ftp.c, line 964
- contrib/tzcode/zic/zic.c, line 1741
- contrib/unbound/daemon/remote.c, line 304
- contrib/wpa/hostapd/ctrl_iface.c, 3 times
- contrib/wpa/hs20/client/osu_client.c, line 126
- contrib/wpa/wpa_supplicant/config_file.c, line 1620
- contrib/wpa/wpa_supplicant/ctrl_iface_unix.c, 5 times
- contrib/wpa/wpa_supplicant/hs20_supplicant.c, line 428
- contrib/wpa/wpa_supplicant/wpa_priv.c, line 841
- crypto/heimdal/appl/ftp/ftp/ftp.c, line 961
- crypto/heimdal/appl/ftp/ftpd/ftpcmd.c, line 2238
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, line 1776
- crypto/heimdal/appl/login/login.c, line 348
- crypto/heimdal/appl/rcp/rcp.c, 2 times
- crypto/heimdal/appl/telnet/telnetd/sys_term.c, 10 times
- crypto/heimdal/lib/ipc/server.c, line 1117
- crypto/openssh/scp.c, 4 times
- crypto/openssh/sftp-client.c, line 1429
- crypto/openssh/sftp-server.c, 2 times
- crypto/openssh/sshpty.c, 2 times
- crypto/openssl/crypto/rand/randfile.c, line 242
- lib/libpam/modules/pam_krb5/pam_krb5.c, line 563
- lib/libutil/gr_util.c, line 336
- libexec/atrun/atrun.c, line 154
- libexec/flua/modules/lposix.c, 2 times
- libexec/getty/main.c, line 224
- sbin/devd/devd.cc, line 926
- sbin/fsck_ffs/main.c, line 368
- sbin/mdmfs/mdmfs.c, line 586
- sbin/restore/dirs.c, line 661
- sbin/restore/tape.c, 2 times
- sys/contrib/openzfs/contrib/pam_zfs_key/pam_zfs_key.c, line 481
- sys/contrib/openzfs/tests/zfs-tests/cmd/mkfile/mkfile.c, line 266
- sys/contrib/openzfs/tests/zfs-tests/tests/functional/ctime/ctime.c, line 229
- sys/contrib/zstd/programs/util.c, line 137
- tests/sys/audit/file-attribute-modify.c, 2 times
- tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c, line 351
- tests/sys/fs/fusefs/access.cc, 2 times
- tests/sys/fs/fusefs/default_permissions.cc, 4 times
- tests/sys/fs/fusefs/default_permissions_privileged.cc, line 123
- tests/sys/fs/fusefs/setattr.cc, 7 times
- tools/regression/priv/main.c, line 398
- tools/regression/priv/priv_io.c, 2 times
- tools/regression/priv/priv_vfs_chmod.c, 3 times
- tools/regression/priv/priv_vfs_setgid.c, 2 times
- tools/regression/priv/priv_vfs_stickyfile.c, 4 times
- tools/regression/security/cap_test/cap_test_capmode.c, line 93
- tools/regression/security/open_to_operation/open_to_operation.c, 2 times
- usr.bin/biff/biff.c, 3 times
- usr.bin/compress/compress.c, line 388
- usr.bin/fetch/fetch.c, line 729
- usr.bin/fortune/fortune/fortune.c, line 206
- usr.bin/login/login_fbtab.c, line 136
- usr.bin/mesg/mesg.c, 2 times
- usr.bin/msgs/msgs.c, 2 times
- usr.bin/patch/patch.c, 2 times
- usr.bin/patch/pch.c, 2 times
- usr.bin/xinstall/xinstall.c, line 1406
- usr.sbin/bluetooth/sdpd/server.c, line 107
- usr.sbin/cron/crontab/crontab.c, line 593
- usr.sbin/fmtree/compare.c, line 156
- usr.sbin/fmtree/verify.c, line 251
- usr.sbin/inetd/inetd.c, line 1325
- usr.sbin/lpr/chkprintcap/chkprintcap.c, line 310
- usr.sbin/lpr/common_source/common.c, line 409
- usr.sbin/lpr/lpc/cmds.c, line 1215
- usr.sbin/lpr/lpr/lpr.c, line 471
- usr.sbin/newsyslog/newsyslog.c, line 2749
- usr.sbin/nscd/nscd.c, line 199
- usr.sbin/pw/pw_nis.c, line 74
- usr.sbin/rpc.yppasswdd/yppasswdd_main.c, line 317
- usr.sbin/rtadvd/control.c, line 320
- usr.sbin/syslogd/syslogd.c, line 3905