Defined in 7 files as a prototype:
Defined in 1 files as a member:
Defined in 3 files as a macro:
Defined in 3 files as a function:
Referenced in 225 files:
- bin/ed/buf.c, line 67
- bin/setfacl/file.c, line 63
- cddl/contrib/opensolaris/cmd/zstreamdump/zstreamdump.c, line 94
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c, line 133
- contrib/amd/fsinfo/null_lex.c, line 596
- 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/bzip2/bzip2.c, 2 times
- contrib/bzip2/bzlib.c, line 1198
- contrib/bzip2/unzcrash.c, line 92
- contrib/compiler-rt/lib/builtins/os_version_check.c, line 161
- contrib/compiler-rt/lib/msan/msan_interceptors.cc, line 1603
- 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/dtc/data.c, line 106
- contrib/dtc/dtc.c, line 156
- contrib/dtc/flattree.c, 3 times
- contrib/elftoolchain/elfcopy/main.c, line 1289
- contrib/elftoolchain/elfcopy/sections.c, 2 times
- contrib/expat/examples/elements.c, line 92
- contrib/expat/examples/outline.c, line 106
- contrib/expat/tests/benchmark/benchmark.c, line 104
- contrib/gcc/c-pch.c, 3 times
- contrib/gcc/config/host-linux.c, line 130
- contrib/gcc/gcov-io.c, line 406
- contrib/gcc/ggc-common.c, 5 times
- contrib/gcc/ggc-page.c, line 2260
- contrib/gcc/ggc-zone.c, line 2324
- contrib/gcc/mips-tfile.c, 5 times
- contrib/gcc/system.h, line 147
- contrib/gcclibs/libcpp/files.c, 2 times
- contrib/gcclibs/libcpp/mkdeps.c, 3 times
- contrib/gcclibs/libcpp/pch.c, line 728
- contrib/gcclibs/libcpp/system.h, line 139
- contrib/gcclibs/libiberty/argv.c, line 361
- contrib/gcclibs/libiberty/md5.c, line 150
- contrib/gcclibs/libmudflap/mf-hooks2.c, 2 times
- contrib/gcclibs/libmudflap/mf-runtime.h, line 142
- 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 148
- contrib/libarchive/test_utils/test_main.c, 7 times
- contrib/libevent/sample/https-client.c, line 452
- contrib/libpcap/savefile.c, line 361
- contrib/libpcap/sf-pcap.c, 6 times
- contrib/libpcap/sf-pcapng.c, 3 times
- contrib/libstdc++/include/c/std_cstdio.h, line 54
- contrib/libstdc++/include/c_compatibility/stdio.h, line 73
- contrib/libstdc++/include/c_std/std_cstdio.h, 2 times
- contrib/libstdc++/include/ext/stdio_sync_filebuf.h, line 206
- 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/tools/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp, line 971
- contrib/llvm/tools/lldb/source/Host/common/File.cpp, line 378
- contrib/llvm/tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp, line 51
- contrib/lua/src/lauxlib.c, line 654
- contrib/lua/src/liolib.c, 2 times
- contrib/ncurses/ncurses/base/lib_screen.c, 2 times
- contrib/ncurses/ncurses/tinfo/read_entry.c, line 414
- contrib/ncurses/progs/tset.c, line 236
- 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/openmp/runtime/src/kmp_stats.cpp, line 485
- 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/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_lcl.h, line 162
- crypto/openssl/crypto/bio/bss_file.c, line 148
- 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/libedit/readline.c, 4 times
- lib/libvgl/text.c, 3 times
- libexec/tftpd/tftp-file.c, 2 times
- release/picobsd/tinyware/help/help.c, 2 times
- release/picobsd/tinyware/view/view.c, line 277
- sbin/md5/md5.c, line 519
- 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/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/contrib/experimental_dict_builders/randomDictBuilder/io.c, line 123
- sys/contrib/zstd/contrib/largeNbDicts/largeNbDicts.c, 2 times
- sys/contrib/zstd/contrib/pzstd/Pzstd.cpp, 2 times
- sys/contrib/zstd/contrib/pzstd/test/RoundTrip.h, 2 times
- sys/contrib/zstd/contrib/seekable_format/examples/parallel_compression.c, line 51
- sys/contrib/zstd/contrib/seekable_format/examples/parallel_processing.c, line 65
- sys/contrib/zstd/contrib/seekable_format/examples/seekable_compression.c, line 38
- sys/contrib/zstd/contrib/seekable_format/examples/seekable_decompression.c, line 52
- sys/contrib/zstd/contrib/seekable_format/zstdseek_decompress.c, line 86
- sys/contrib/zstd/doc/educational_decoder/harness.c, line 47
- sys/contrib/zstd/examples/common.h, 2 times
- sys/contrib/zstd/programs/benchzstd.c, line 773
- sys/contrib/zstd/programs/dibio.c, line 127
- sys/contrib/zstd/programs/fileio.c, 15 times
- sys/contrib/zstd/tests/fullbench.c, line 614
- sys/contrib/zstd/tests/fuzz/regression_driver.c, line 62
- sys/contrib/zstd/tests/paramgrill.c, 2 times
- sys/contrib/zstd/tests/regression/data.c, 2 times
- sys/contrib/zstd/tests/regression/method.c, line 290
- sys/contrib/zstd/tests/roundTripCrash.c, line 203
- 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/tools/indent_wrapper/indent_wrapper.c, line 337
- tools/tools/vt/mkkfont/mkkfont.c, 3 times
- usr.bin/bsdiff/bspatch/bspatch.c, line 180
- 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 546
- usr.bin/lastcomm/readrec.c, line 63
- usr.bin/lex/initscan.c, line 2136
- usr.bin/mail/send.c, 2 times
- usr.bin/msgs/msgs.c, line 811
- usr.bin/patch/pch.c, line 111
- 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 225
- usr.bin/uuencode/uuencode.c, 2 times
- usr.bin/wall/wall.c, line 291
- usr.sbin/acpi/acpidump/acpi.c, line 1951
- usr.sbin/bsdinstall/distfetch/distfetch.c, line 176
- usr.sbin/config/main.c, line 722
- usr.sbin/fstyp/fstyp.c, line 92
- 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 77
- usr.sbin/vidcontrol/vidcontrol.c, 5 times