Defined in 18 files as a macro:
- contrib/diff/lib/file-type.h, line 126 (as a macro)
- contrib/diff/lib/file-type.h, line 128 (as a macro)
- contrib/expat/xmlwf/readfilemap.c, line 65 (as a macro)
- contrib/gdb/gdb/gdb_stat.h, line 50 (as a macro)
- contrib/less/filename.c, line 42 (as a macro)
- contrib/libarchive/libarchive/test/main.c, line 102 (as a macro)
- contrib/libarchive/test_utils/test_main.c, line 118 (as a macro)
- contrib/ncurses/ncurses/curses.priv.h, line 240 (as a macro)
- contrib/ntp/lib/isc/win32/include/isc/stat.h, line 57 (as a macro)
- contrib/ntp/ntpd/ntp_filegen.c, line 221 (as a macro)
- contrib/ntp/sntp/libopts/compat/windows-config.h, line 107 (as a macro)
- contrib/sendmail/include/sm/conf.h, line 2707 (as a macro)
- contrib/sqlite3/shell.c, line 1089 (as a macro)
- contrib/tcsh/tc.os.h, line 250 (as a macro)
- crypto/openssh/defines.h, line 164 (as a macro)
- crypto/openssl/crypto/rand/randfile.c, line 49 (as a macro)
- gnu/usr.bin/grep/system.h, line 109 (as a macro)
- sys/sys/stat.h, line 287 (as a macro)
Referenced in 247 files:
- bin/cat/cat.c, line 331
- bin/cp/utils.c, line 187
- bin/dd/dd.c, line 323
- bin/mv/mv.c, line 271
- bin/pax/ar_io.c, line 331
- bin/sh/exec.c, line 418
- bin/sh/main.c, line 298
- bin/sh/redir.c, 2 times
- bin/test/test.c, line 391
- contrib/binutils/binutils/bucomm.c, line 521
- contrib/binutils/binutils/readelf.c, line 9901
- contrib/binutils/binutils/rename.c, line 173
- contrib/binutils/libiberty/unlink-if-ordinary.c, line 68
- contrib/bmake/parse.c, line 423
- contrib/bzip2/bzip2.c, line 80
- contrib/diff/lib/file-type.c, line 41
- contrib/diff/lib/file-type.h, 3 times
- contrib/diff/src/analyze.c, 2 times
- contrib/diff/src/cmp.c, 3 times
- contrib/diff/src/diff.c, 6 times
- contrib/diff/src/io.c, line 158
- contrib/dma/spool.c, line 315
- contrib/elftoolchain/ar/util.c, line 122
- contrib/elftoolchain/ar/write.c, line 116
- contrib/elftoolchain/libelf/libelf_open.c, 3 times
- contrib/elftoolchain/libpe/libpe_init.c, 3 times
- contrib/expat/xmlwf/readfilemap.c, 2 times
- contrib/expat/xmlwf/unixfilemap.c, line 74
- contrib/file/src/apprentice.c, line 1409
- contrib/file/src/buffer.c, line 69
- contrib/file/src/magic.c, line 278
- contrib/file/src/readelf.c, line 1818
- contrib/flex/src/main.c, line 370
- contrib/gdb/gdb/gdb_stat.h, 2 times
- contrib/gdb/gdb/procfs.c, line 5030
- contrib/gdb/gdb/remote-fileio.c, 6 times
- contrib/gdb/gdb/source.c, line 633
- contrib/less/cmdbuf.c, line 1652
- contrib/less/filename.c, 2 times
- contrib/lib9p/backend/fs.c, line 698
- contrib/libarchive/libarchive/archive_read_data_into_fd.c, line 97
- contrib/libarchive/libarchive/archive_read_disk_entry_from_file.c, line 225
- contrib/libarchive/libarchive/archive_read_disk_posix.c, line 1002
- contrib/libarchive/libarchive/archive_read_open_fd.c, line 96
- contrib/libarchive/libarchive/archive_read_open_file.c, line 90
- contrib/libarchive/libarchive/archive_read_open_filename.c, 2 times
- contrib/libarchive/libarchive/archive_write_disk_posix.c, 2 times
- contrib/libarchive/libarchive/archive_write_open_fd.c, line 95
- contrib/libarchive/libarchive/archive_write_open_filename.c, line 214
- contrib/libarchive/libarchive/test/main.c, 2 times
- contrib/libarchive/libarchive/test/test_write_disk_secure.c, line 274
- contrib/libarchive/tar/write.c, line 1042
- contrib/libarchive/test_utils/test_main.c, 2 times
- contrib/libucl/src/ucl_util.c, line 755
- contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp, line 31
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp, line 462
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp, line 373
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_rtems.cpp, line 61
- contrib/llvm-project/libcxx/src/filesystem/operations.cpp, line 398
- contrib/mandoc/compat_fts.c, line 556
- contrib/mandoc/read.c, line 445
- contrib/mtree/compare.c, line 165
- contrib/mtree/create.c, 9 times
- contrib/ncurses/ncurses/curses.priv.h, line 239
- contrib/ncurses/ncurses/tinfo/access.c, line 160
- contrib/ncurses/ncurses/tinfo/db_iterator.c, 2 times
- contrib/ncurses/ncurses/tinfo/read_termcap.c, line 1087
- contrib/ncurses/progs/tic.c, line 593
- contrib/netbsd-tests/include/t_paths.c, line 199
- contrib/netbsd-tests/lib/libc/sys/t_mknod.c, line 182
- contrib/ntp/lib/isc/log.c, line 1339
- contrib/ntp/lib/isc/unix/file.c, line 363
- contrib/ntp/lib/isc/win32/file.c, line 412
- contrib/ntp/lib/isc/win32/include/isc/stat.h, line 56
- contrib/ntp/ntpd/ntp_filegen.c, 2 times
- contrib/ntp/sntp/libopts/compat/windows-config.h, line 105
- contrib/ntp/sntp/libopts/configfile.c, line 1185
- contrib/ntp/sntp/libopts/file.c, line 86
- contrib/ntp/sntp/libopts/makeshell.c, line 771
- contrib/ntp/sntp/libopts/save.c, line 255
- contrib/ntp/sntp/libopts/text_mmap.c, line 216
- contrib/nvi/common/exf.c, 2 times
- contrib/nvi/ex/ex_read.c, line 254
- contrib/nvi/ex/ex_write.c, line 348
- contrib/openbsm/bin/auditdistd/receiver.c, line 626
- contrib/openbsm/bin/auditdistd/trail.c, line 254
- contrib/openbsm/libauditd/auditd_lib.c, line 471
- contrib/openpam/lib/libpam/openpam_check_owner_perms.c, 2 times
- contrib/opie/libopie/lock.c, 2 times
- contrib/opie/libopie/open.c, line 52
- contrib/sendmail/include/sm/conf.h, line 2706
- contrib/sendmail/libsm/makebuf.c, 2 times
- contrib/sendmail/libsmutil/safefile.c, 3 times
- contrib/sendmail/mail.local/mail.local.c, 3 times
- contrib/sendmail/rmail/rmail.c, line 349
- contrib/sendmail/smrsh/smrsh.c, line 325
- contrib/sendmail/src/deliver.c, line 5783
- contrib/sendmail/src/mci.c, line 1301
- contrib/sendmail/src/readcf.c, line 183
- contrib/sqlite3/shell.c, 3 times
- contrib/sqlite3/sqlite3.c, line 39843
- contrib/tcsh/sh.exec.c, line 902
- contrib/tcsh/sh.exp.c, 2 times
- contrib/tcsh/tc.os.h, 2 times
- contrib/tnftp/src/ftp.c, 2 times
- contrib/tzcode/stdtime/localtime.c, line 434
- contrib/unbound/compat/getentropy_linux.c, line 471
- contrib/unbound/compat/getentropy_osx.c, line 367
- contrib/unbound/compat/getentropy_solaris.c, line 391
- contrib/xz/src/xz/file_io.c, 3 times
- crypto/heimdal/appl/ftp/ftp/ftp.c, 2 times
- crypto/heimdal/appl/ftp/ftpd/ftpcmd.c, 3 times
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, 5 times
- crypto/heimdal/appl/ftp/ftpd/ls.c, line 167
- crypto/heimdal/appl/rcp/rcp.c, line 298
- crypto/heimdal/lib/roken/iruserok.c, line 264
- crypto/openssh/auth-rhosts.c, line 73
- crypto/openssh/auth.c, 2 times
- crypto/openssh/defines.h, line 163
- crypto/openssh/loginrec.c, 2 times
- crypto/openssh/misc.c, line 1786
- crypto/openssh/regress/check-perm.c, line 110
- crypto/openssh/scp.c, line 1489
- crypto/openssh/sftp-client.c, 4 times
- crypto/openssh/sftp-server.c, line 1188
- crypto/openssl/crypto/rand/randfile.c, 3 times
- gnu/usr.bin/gdb/kgdb/kld.c, line 69
- gnu/usr.bin/gdb/kgdb/main.c, 5 times
- gnu/usr.bin/grep/grep.c, 3 times
- gnu/usr.bin/grep/system.h, 2 times
- lib/geom/part/geom_part.c, line 1083
- lib/libc/db/mpool/mpool.c, line 79
- lib/libc/gen/fts-compat.c, line 966
- lib/libc/gen/fts-compat11.c, line 956
- lib/libc/gen/fts.c, line 951
- lib/libc/iconv/citrus_mmap.c, line 71
- lib/libc/net/rcmd.c, line 482
- lib/libc/tests/stdio/mkostemp_test.c, 2 times
- lib/libkvm/kvm.c, line 151
- lib/libsecureboot/pass_manifest.c, line 70
- lib/libsecureboot/veopen.c, line 420
- lib/libsecureboot/verify_file.c, 2 times
- lib/libsecureboot/vesigned.c, line 51
- lib/libufs/type.c, line 120
- lib/libutil/_secure_path.c, line 58
- libexec/atrun/atrun.c, line 543
- libexec/flua/modules/lfs.c, line 239
- libexec/ftpd/ftpd.c, 4 times
- sbin/fsck_ffs/gjournal.c, line 449
- sbin/gbde/gbde.c, line 336
- sbin/ggate/shared/ggate.c, 2 times
- sbin/hastd/hastd.c, line 157
- sbin/hastd/subr.c, line 120
- sbin/ldconfig/elfhints.c, line 245
- sbin/ldconfig/ldconfig.c, line 215
- sbin/mdconfig/mdconfig.c, line 416
- sbin/newfs_msdos/mkfs_msdos.c, 3 times
- sbin/rcorder/rcorder.c, line 495
- sbin/routed/trace.c, line 349
- sbin/swapon/swapon.c, line 755
- stand/common/module.c, line 1000
- stand/liblua/lstd.c, line 85
- stand/libsa/bzipfs.c, line 185
- stand/libsa/gzipfs.c, line 194
- stand/libsa/splitfs.c, line 134
- stand/userboot/test/test.c, line 136
- sys/compat/cloudabi/cloudabi_file.c, line 677
- sys/contrib/openzfs/cmd/zed/zed_conf.c, line 389
- sys/contrib/openzfs/cmd/zfs/zfs_project.c, line 72
- sys/contrib/openzfs/cmd/zgenhostid/zgenhostid.c, line 119
- sys/contrib/openzfs/cmd/zpool/zpool_main.c, line 5145
- sys/contrib/openzfs/cmd/zpool/zpool_vdev.c, line 345
- sys/contrib/openzfs/lib/libshare/os/linux/smb.c, line 107
- sys/contrib/openzfs/lib/libzutil/os/freebsd/zutil_import_os.c, line 138
- sys/contrib/openzfs/lib/libzutil/os/linux/zutil_import_os.c, 2 times
- sys/contrib/openzfs/module/os/freebsd/zfs/vdev_file.c, line 158
- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops.c, 3 times
- sys/contrib/openzfs/module/os/linux/zfs/vdev_file.c, line 158
- sys/contrib/openzfs/module/os/linux/zfs/zfs_acl.c, line 1663
- sys/contrib/openzfs/module/os/linux/zfs/zfs_dir.c, 2 times
- sys/contrib/openzfs/module/os/linux/zfs/zfs_vnops.c, 11 times
- sys/contrib/openzfs/module/os/linux/zfs/zfs_znode.c, line 778
- sys/contrib/zstd/programs/util.c, 2 times
- sys/fs/ext2fs/ext2_alloc.c, line 466
- sys/fs/ext2fs/ext2_extents.c, line 1250
- sys/fs/ext2fs/ext2_inode_cnv.c, 2 times
- sys/fs/ext2fs/ext2_vfsops.c, line 1280
- tests/sys/file/flock_helper.c, line 81
- tools/regression/aio/aiop/aiop.c, line 182
- tools/tools/bootparttest/bootparttest.c, line 105
- usr.bin/ar/write.c, line 162
- usr.bin/at/at.c, line 495
- usr.bin/chpass/field.c, line 253
- usr.bin/cmp/cmp.c, 2 times
- usr.bin/compress/compress.c, 6 times
- usr.bin/diff/diffdir.c, 2 times
- usr.bin/diff/diffreg.c, 2 times
- usr.bin/dpv/dpv.c, line 131
- usr.bin/env/envopts.c, line 74
- usr.bin/fetch/fetch.c, 3 times
- usr.bin/find/function.c, line 565
- usr.bin/grep/file.c, line 187
- usr.bin/gzip/gzip.c, 4 times
- usr.bin/hexdump/display.c, line 398
- usr.bin/ktrace/ktrace.c, line 157
- usr.bin/mail/collect.c, line 508
- usr.bin/mail/fio.c, line 267
- usr.bin/mail/lex.c, line 94
- usr.bin/mkimg/image.c, line 500
- usr.bin/mkuzip/mkuz_insize.c, line 77
- usr.bin/patch/inp.c, line 174
- usr.bin/script/script.c, line 473
- usr.bin/sdiff/sdiff.c, line 164
- usr.bin/sed/main.c, line 409
- usr.bin/sort/sort.c, 2 times
- usr.bin/tail/forward.c, 3 times
- usr.bin/tail/reverse.c, line 90
- usr.bin/tcopy/tcopy.c, line 334
- usr.bin/unzip/unzip.c, 3 times
- usr.bin/wc/wc.c, line 253
- usr.bin/which/which.c, line 113
- usr.bin/xinstall/xinstall.c, 6 times
- usr.sbin/bhyveload/bhyveload.c, line 190
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c, line 343
- usr.sbin/camdd/camdd.c, line 1081
- usr.sbin/ckdist/ckdist.c, line 148
- usr.sbin/config/main.c, line 204
- usr.sbin/cpucontrol/cpucontrol.c, line 373
- usr.sbin/cron/cron/database.c, 2 times
- usr.sbin/crunch/crunchgen/crunchgen.c, line 1261
- usr.sbin/diskinfo/diskinfo.c, line 161
- usr.sbin/fifolog/lib/fifolog_create.c, 4 times
- usr.sbin/fifolog/lib/fifolog_int.c, line 76
- usr.sbin/fmtree/compare.c, line 104
- usr.sbin/fmtree/create.c, 7 times
- usr.sbin/fstyp/fstyp.c, line 160
- usr.sbin/gssd/gssd.c, line 990
- usr.sbin/inetd/builtins.c, line 625
- usr.sbin/makefs/ffs.c, 2 times
- usr.sbin/makefs/msdos.c, line 260
- usr.sbin/makefs/walk.c, line 604
- usr.sbin/mountd/mountd.c, line 1207
- usr.sbin/newsyslog/newsyslog.c, 2 times
- usr.sbin/pmcstat/pmcstat.c, line 1010
- usr.sbin/pw/cpdir.c, line 101
- usr.sbin/trim/trim.c, line 185
- usr.sbin/ypserv/yp_server.c, line 704