Defined in 6 files as a prototype:
Defined in 1 files as a member:
Defined in 1 files as a macro:
Defined in 3 files as a function:
Referenced in 186 files:
- bin/ed/buf.c, line 67
- bin/setfacl/file.c, line 63
- contrib/bearssl/test/test_x509.c, line 423
- contrib/bearssl/tools/files.c, line 51
- contrib/binutils/bfd/cache.c, line 301
- contrib/binutils/bfd/doc/chew.c, line 1445
- contrib/binutils/bfd/gen-aout.c, line 41
- contrib/binutils/bfd/opncls.c, line 1455
- contrib/binutils/binutils/dlltool.c, line 1995
- contrib/binutils/binutils/objcopy.c, 2 times
- contrib/binutils/binutils/rclex.c, line 650
- contrib/binutils/binutils/readelf.c, 15 times
- contrib/binutils/binutils/resrc.c, line 636
- contrib/binutils/binutils/sysdump.c, line 123
- contrib/binutils/binutils/windmc.c, line 1149
- contrib/binutils/gas/input-file.c, 2 times
- contrib/binutils/gas/read.c, line 5458
- contrib/binutils/include/aout/encap.h, line 93
- contrib/binutils/ld/ldmain.c, 2 times
- contrib/binutils/libiberty/argv.c, line 414
- contrib/binutils/libiberty/md5.c, line 150
- contrib/bmake/arch.c, 7 times
- contrib/bmake/filemon/filemon_ktrace.c, line 522
- contrib/bzip2/bzip2.c, 2 times
- contrib/bzip2/bzlib.c, line 1198
- contrib/bzip2/unzcrash.c, line 92
- contrib/dialog/dialog.c, line 521
- contrib/dialog/editbox.c, line 79
- contrib/dialog/tailbox.c, line 130
- contrib/diff/lib/unlocked-io.h, 2 times
- contrib/diff/src/sdiff.c, line 309
- contrib/dma/mail.c, line 112
- contrib/elftoolchain/elfcopy/main.c, line 1308
- contrib/elftoolchain/elfcopy/sections.c, 2 times
- contrib/expat/examples/elements.c, line 85
- contrib/expat/examples/outline.c, line 99
- contrib/expat/tests/benchmark/benchmark.c, line 100
- contrib/gdb/gdb/cli/cli-dump.c, line 558
- contrib/gdb/gdb/ui-file.h, line 45
- contrib/googletest/googletest/src/gtest-port.cc, line 1138
- contrib/hyperv/tools/hv_kvp_daemon.c, 2 times
- contrib/ipfilter/tools/lex_var.h, line 32
- contrib/ldns/util.c, 3 times
- contrib/libarchive/libarchive/archive_read_open_file.c, line 115
- contrib/libarchive/libarchive/test/main.c, 7 times
- contrib/libarchive/libarchive/test/test_read_data_large.c, line 110
- contrib/libarchive/libarchive/test/test_read_large.c, line 91
- contrib/libarchive/libarchive/test/test_write_disk_sparse.c, 10 times
- contrib/libarchive/libarchive_fe/line_reader.c, line 147
- contrib/libarchive/test_utils/test_main.c, 7 times
- contrib/libedit/readline.c, 4 times
- contrib/libevent/sample/https-client.c, line 452
- contrib/libpcap/savefile.c, line 391
- contrib/libpcap/sf-pcap.c, 6 times
- contrib/libpcap/sf-pcapng.c, 3 times
- contrib/libucl/src/ucl_util.c, line 688
- contrib/libucl/tests/test_basic.c, line 140
- contrib/libucl/utils/objdump.c, line 138
- contrib/libucl/utils/ucl-tool.c, line 118
- contrib/llvm-project/compiler-rt/lib/builtins/os_version_check.c, line 159
- contrib/llvm-project/compiler-rt/lib/msan/msan_interceptors.cpp, line 1614
- contrib/llvm-project/lldb/source/Host/common/File.cpp, line 522
- contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp, line 137
- contrib/llvm-project/openmp/runtime/src/kmp_stats.cpp, line 484
- contrib/lua/src/lauxlib.c, line 654
- contrib/lua/src/liolib.c, 2 times
- contrib/ncurses/ncurses/tinfo/read_entry.c, line 563
- contrib/ncurses/progs/reset_cmd.c, line 108
- contrib/netbsd-tests/lib/libc/stdio/t_clearerr.c, line 53
- contrib/netbsd-tests/lib/libc/stdio/t_fflush.c, line 121
- contrib/netbsd-tests/lib/libc/stdio/t_fmemopen.c, 3 times
- contrib/netbsd-tests/lib/libc/stdio/t_fopen.c, 2 times
- contrib/netbsd-tests/lib/libc/stdio/t_fputc.c, line 80
- contrib/ntp/lib/isc/unix/stdio.c, line 69
- contrib/ntp/lib/isc/win32/stdio.c, line 68
- contrib/ntp/libjsmn/example/jsondump.c, line 71
- contrib/ntp/sntp/libopts/makeshell.c, line 780
- contrib/openbsm/libbsm/bsm_io.c, 6 times
- contrib/opie/libmissing/getutline.c, 2 times
- contrib/opie/libmissing/pututline.c, line 45
- contrib/pf/pflogd/pflogd.c, 2 times
- contrib/processor-trace/libipt/src/pt_section_file.c, line 231
- contrib/sendmail/libsm/smstdio.c, line 159
- contrib/sqlite3/shell.c, 7 times
- contrib/tnftp/src/fetch.c, line 1225
- contrib/unbound/util/net_help.c, line 1424
- contrib/wpa/src/utils/os_internal.c, 2 times
- contrib/wpa/src/utils/os_unix.c, 2 times
- contrib/wpa/src/utils/os_win32.c, line 212
- contrib/xz/src/lzmainfo/lzmainfo.c, line 104
- contrib/xz/src/xzdec/xzdec.c, 2 times
- crypto/heimdal/lib/asn1/lex.c, line 963
- crypto/heimdal/lib/com_err/lex.c, line 640
- crypto/heimdal/lib/hdb/mkey.c, line 307
- crypto/heimdal/lib/hx509/hxtool.c, line 1542
- crypto/heimdal/lib/krb5/replay.c, 3 times
- crypto/heimdal/lib/sl/slc-lex.c, line 619
- crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c, line 42
- crypto/openssl/crypto/bio/bio_local.h, line 162
- crypto/openssl/crypto/bio/bss_file.c, line 145
- crypto/openssl/crypto/rand/rand_egd.c, 2 times
- crypto/openssl/crypto/rand/randfile.c, line 144
- gnu/usr.bin/grep/grep.c, line 1550
- lib/libc/gen/getutxent.c, 4 times
- lib/libc/gen/pututxline.c, 3 times
- lib/libc/stdio/getw.c, line 48
- lib/libc/tests/stdio/fmemopen2_test.c, 2 times
- lib/libc/tests/stdio/open_memstream2_test.c, line 137
- lib/libc/tests/stdio/open_wmemstream_test.c, line 137
- lib/libc/xdr/xdr_stdio.c, 2 times
- lib/libvgl/text.c, 3 times
- libexec/tftpd/tftp-file.c, 2 times
- sbin/md5/md5.c, line 522
- sbin/restore/dirs.c, 2 times
- share/examples/tests/tests/plain/printf_test.c, line 88
- share/examples/tests/tests/tap/printf_test.c, line 143
- stand/ficl/fileaccess.c, 2 times
- stand/liblua/lutils.c, line 286
- sys/contrib/dev/acpica/common/acfileio.c, 4 times
- sys/contrib/dev/acpica/compiler/aslascii.c, 3 times
- sys/contrib/dev/acpica/compiler/aslerror.c, 2 times
- sys/contrib/dev/acpica/compiler/aslfileio.c, line 280
- sys/contrib/dev/acpica/compiler/aslhex.c, line 244
- sys/contrib/dev/acpica/compiler/prscan.c, line 1355
- sys/contrib/openzfs/cmd/zstream/zstream_dump.c, line 84
- sys/contrib/openzfs/cmd/zstream/zstream_redup.c, line 88
- sys/contrib/openzfs/lib/libzfs/libzfs_crypto.c, line 450
- sys/contrib/xz-embedded/userspace/boottest.c, 3 times
- sys/contrib/xz-embedded/userspace/buftest.c, line 36
- sys/contrib/xz-embedded/userspace/bytetest.c, line 55
- sys/contrib/xz-embedded/userspace/xzminidec.c, line 63
- sys/contrib/zlib/test/minigzip.c, 2 times
- sys/contrib/zstd/doc/educational_decoder/harness.c, line 48
- sys/contrib/zstd/examples/common.h, 2 times
- sys/contrib/zstd/programs/benchzstd.c, line 771
- sys/contrib/zstd/programs/dibio.c, line 127
- sys/contrib/zstd/programs/fileio.c, 15 times
- sys/contrib/zstd/zlibWrapper/examples/fitblk.c, line 85
- sys/contrib/zstd/zlibWrapper/examples/fitblk_original.c, line 80
- sys/contrib/zstd/zlibWrapper/examples/minigzip.c, 2 times
- sys/contrib/zstd/zlibWrapper/examples/zwrapbench.c, line 700
- tools/build/bootstrap-m4/inittokenizer.c, line 629
- tools/tools/indent_wrapper/indent_wrapper.c, line 337
- tools/tools/vt/mkkfont/mkkfont.c, 3 times
- usr.bin/bsdiff/bspatch/bspatch.c, line 192
- usr.bin/compress/compress.c, 3 times
- usr.bin/compress/zopen.c, 2 times
- usr.bin/csplit/csplit.c, line 334
- usr.bin/diff/diffreg.c, 4 times
- usr.bin/diff3/diff3.c, 2 times
- usr.bin/etdump/etdump.c, line 86
- usr.bin/fetch/fetch.c, line 763
- usr.bin/fortune/unstr/unstr.c, 2 times
- usr.bin/gprof/aout.c, 6 times
- usr.bin/gprof/gprof.c, 3 times
- usr.bin/gzip/zuncompress.c, 3 times
- usr.bin/head/head.c, line 182
- usr.bin/hexdump/display.c, line 285
- usr.bin/iconv/iconv.c, 2 times
- usr.bin/kdump/kdump.c, line 547
- usr.bin/lastcomm/readrec.c, line 63
- usr.bin/lex/initscan.c, line 2132
- usr.bin/mail/send.c, 2 times
- usr.bin/msgs/msgs.c, line 811
- usr.bin/patch/pch.c, line 113
- usr.bin/rwall/rwall.c, line 182
- usr.bin/script/script.c, 3 times
- usr.bin/sdiff/edit.c, line 180
- usr.bin/sed/process.c, line 577
- usr.bin/sort/file.c, 3 times
- usr.bin/tail/reverse.c, line 228
- usr.bin/uuencode/uuencode.c, 2 times
- usr.bin/wall/wall.c, line 291
- usr.sbin/acpi/acpidump/acpi.c, line 2224
- usr.sbin/bsdinstall/distfetch/distfetch.c, line 176
- usr.sbin/config/main.c, line 759
- usr.sbin/fstyp/fstyp.c, line 102
- usr.sbin/lpr/common_source/rmjob.c, line 177
- usr.sbin/makefs/cd9660/cd9660_debug.c, 3 times
- usr.sbin/makefs/cd9660/cd9660_write.c, line 450
- usr.sbin/ndiscvt/ndiscvt.c, line 330
- usr.sbin/ngctl/write.c, line 86
- usr.sbin/nscd/nscd.c, line 689
- usr.sbin/pkg/pkg.c, 2 times
- usr.sbin/uefisign/child.c, line 76
- usr.sbin/vidcontrol/vidcontrol.c, 5 times