Defined in 8 files as a prototype:
Defined in 1 files as a macro:
Defined in 7 files as a function:
Referenced in 122 files:
- bin/ed/buf.c, line 200
- bin/pax/tables.c, 2 times
- bin/sh/histedit.c, line 314
- cddl/compat/opensolaris/misc/fsshare.c, line 169
- contrib/apr/file_io/unix/mktemp.c, line 190
- contrib/atf/atf-c/detail/fs.c, line 226
- contrib/atf/atf-sh/atf-check.cpp, line 120
- contrib/binutils/binutils/bucomm.c, line 449
- contrib/bmake/main.c, line 2227
- contrib/byacc/main.c, line 663
- contrib/diff/src/sdiff.c, line 1219
- contrib/dma/spool.c, line 83
- contrib/ee/ee.c, line 4438
- contrib/elftoolchain/elfcopy/main.c, line 545
- contrib/file/src/compress.c, line 465
- contrib/googletest/googletest/src/gtest-port.cc, line 1034
- contrib/kyua/utils/fs/auto_cleaners.cpp, line 232
- contrib/kyua/utils/fs/auto_cleaners_test.cpp, line 147
- contrib/kyua/utils/fs/operations.cpp, line 608
- contrib/kyua/utils/fs/operations_test.cpp, 4 times
- contrib/libarchive/libarchive/archive_read_disk_entry_from_file.c, line 363
- contrib/libarchive/libarchive/archive_util.c, 2 times
- contrib/libarchive/libarchive/archive_write_disk_posix.c, 2 times
- contrib/libedit/readline.c, line 1234
- contrib/libedit/vi.c, line 1017
- contrib/libevent/test/regress_main.c, line 132
- contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp, line 1097
- contrib/llvm-project/compiler-rt/lib/xray/xray_utils.cpp, line 179
- contrib/lua/src/loslib.c, line 123
- contrib/mandoc/tag.c, 2 times
- contrib/ncurses/progs/tic.c, line 396
- contrib/netbsd-tests/lib/libc/stdlib/t_exit.c, line 158
- contrib/netbsd-tests/lib/libc/sys/t_dup.c, line 328
- contrib/netbsd-tests/lib/libc/sys/t_fsync.c, line 102
- contrib/ntp/lib/isc/win32/file.c, 3 times
- contrib/ntp/sntp/libevent/test/regress_main.c, line 136
- contrib/ntp/sntp/libopts/pgusage.c, line 55
- contrib/nvi/common/exf.c, line 181
- contrib/nvi/common/recover.c, line 802
- contrib/sendmail/libmilter/example.c, line 117
- contrib/sendmail/mail.local/mail.local.c, line 795
- contrib/sendmail/test/t_pathconf.c, line 49
- contrib/tcsh/sh.dol.c, line 957
- contrib/tnftp/src/util.c, line 579
- crypto/heimdal/appl/afsutil/pagsh.c, line 154
- crypto/heimdal/appl/ftp/ftp/cmds.c, line 800
- crypto/heimdal/appl/gssmask/gssmask.c, line 863
- crypto/heimdal/appl/rsh/rshd.c, line 795
- crypto/heimdal/lib/krb5/fcache.c, 2 times
- crypto/heimdal/lib/roken/test-readenv.c, line 53
- crypto/openssh/auth-krb5.c, line 253
- crypto/openssh/hostfile.c, line 554
- crypto/openssh/moduli.c, line 460
- crypto/openssh/session.c, line 273
- crypto/openssh/ssh-keygen.c, 3 times
- lib/libc/stdio/tmpfile.c, line 77
- lib/libc/tests/stdio/perror_test.c, line 56
- sbin/bsdlabel/bsdlabel.c, line 623
- sbin/camcontrol/modeedit.c, line 960
- sbin/gbde/gbde.c, line 536
- sbin/gvinum/gvinum.c, line 210
- sbin/ldconfig/elfhints.c, line 264
- sbin/ldconfig/ldconfig.c, line 498
- sbin/restore/dirs.c, 2 times
- sys/contrib/openzfs/cmd/ztest/ztest.c, line 7406
- sys/contrib/openzfs/lib/libshare/os/freebsd/nfs.c, line 196
- sys/contrib/openzfs/lib/libshare/os/linux/nfs.c, line 410
- sys/contrib/openzfs/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c, line 806
- tests/sys/aio/aio_kqueue_test.c, line 93
- tests/sys/aio/lio_kqueue_test.c, line 89
- tests/sys/file/dup_test.c, line 71
- tests/sys/file/flock_helper.c, line 95
- tests/sys/fs/fusefs/rename.cc, line 175
- tests/sys/kern/kern_copyin.c, line 108
- tests/sys/kern/pipe/pipe_overcommit2_test.c, line 53
- tests/sys/kern/ptrace_test.c, line 3437
- tests/sys/kern/unix_passfd_test.c, line 90
- tests/sys/posixshm/posixshm_test.c, line 64
- tests/sys/vm/mlock_test.c, 2 times
- tools/regression/p1003_1b/sched.c, line 220
- tools/regression/priv/main.c, line 408
- tools/regression/security/cap_test/cap_test_capabilities.c, line 440
- tools/regression/security/open_to_operation/open_to_operation.c, line 1091
- tools/regression/sockets/pr_atomic/pr_atomic.c, line 61
- tools/regression/sockets/reconnect/reconnect.c, 2 times
- tools/regression/sockets/sendfile/sendfile.c, line 467
- tools/regression/sockets/unix_close_race/unix_close_race.c, line 78
- tools/regression/sockets/unix_sendtorace/unix_sendtorace.c, line 208
- tools/regression/sockets/zerosend/zerosend.c, line 215
- tools/tools/indent_wrapper/indent_wrapper.c, 2 times
- tools/tools/netrate/httpd/httpd.c, line 260
- usr.bin/calendar/io.c, line 643
- usr.bin/diff/diffreg.c, line 474
- usr.bin/m4/eval.c, 2 times
- usr.bin/mail/collect.c, 3 times
- usr.bin/mail/edit.c, line 148
- usr.bin/mail/fio.c, line 73
- usr.bin/mail/lex.c, line 134
- usr.bin/mail/names.c, line 317
- usr.bin/mail/quit.c, 3 times
- usr.bin/mail/send.c, line 464
- usr.bin/mkimg/image.c, line 751
- usr.bin/mktemp/mktemp.c, line 131
- usr.bin/msgs/msgs.c, line 793
- usr.bin/patch/patch.c, 4 times
- usr.bin/rwall/rwall.c, line 140
- usr.bin/sdiff/edit.c, line 146
- usr.bin/sdiff/sdiff.c, line 179
- usr.bin/unifdef/unifdef.c, line 285
- usr.bin/wall/wall.c, line 206
- usr.bin/xinstall/xinstall.c, 2 times
- usr.bin/xstr/xstr.c, line 128
- usr.sbin/bhyve/acpi.c, line 788
- usr.sbin/cron/crontab/crontab.c, line 344
- usr.sbin/crunch/crunchgen/crunchgen.c, line 742
- usr.sbin/kbdmap/kbdmap.c, line 358
- usr.sbin/kldxref/kldxref.c, line 653
- usr.sbin/lpr/lpd/printjob.c, 3 times
- usr.sbin/ndiscvt/ndiscvt.c, line 175
- usr.sbin/newsyslog/newsyslog.c, line 2663
- usr.sbin/pkg/pkg.c, line 200
- usr.sbin/pmcannotate/pmcannotate.c, 2 times