Defined in 5 files as a prototype:
Defined in 1 files as a member:
Defined in 2 files as a macro:
Defined in 3 files as a function:
Referenced in 220 files:
- bin/ed/buf.c, line 113
- contrib/bearssl/samples/client_basic.c, line 344
- contrib/bearssl/tools/files.c, line 89
- contrib/bearssl/tools/names.c, 2 times
- contrib/bearssl/tools/skey.c, line 87
- contrib/binutils/bfd/cache.c, line 321
- contrib/binutils/bfd/coff-arm.c, line 954
- contrib/binutils/bfd/coff-ppc.c, 2 times
- contrib/binutils/bfd/cofflink.c, line 2992
- contrib/binutils/bfd/doc/chew.c, line 164
- contrib/binutils/binutils/ar.c, 2 times
- contrib/binutils/binutils/objdump.c, line 1136
- contrib/binutils/binutils/srconv.c, 3 times
- contrib/binutils/ld/ldmain.c, line 527
- contrib/bmake/arch.c, 2 times
- contrib/bmake/meta.c, 2 times
- contrib/bzip2/bzip2.c, 2 times
- contrib/bzip2/bzlib.c, 2 times
- contrib/diff/lib/unlocked-io.h, 2 times
- contrib/diff/src/context.c, line 146
- contrib/diff/src/diff3.c, 5 times
- contrib/diff/src/ifdef.c, 2 times
- contrib/diff/src/sdiff.c, line 318
- contrib/diff/src/util.c, line 546
- contrib/dma/mail.c, 5 times
- contrib/file/src/apptype.c, line 72
- contrib/flex/src/tables.c, 4 times
- contrib/gdb/gdb/cli/cli-dump.c, line 202
- contrib/gdb/gdb/remote-mips.c, line 3087
- contrib/gdb/gdb/remote-st.c, line 139
- contrib/gdb/gdb/ui-file.c, line 485
- contrib/googletest/googletest/src/gtest.cc, line 4456
- contrib/hyperv/tools/hv_kvp_daemon.c, line 207
- contrib/ipfilter/lib/save_execute.c, line 75
- contrib/ipfilter/lib/save_file.c, line 124
- contrib/ipfilter/tools/ipmon.c, line 1015
- contrib/less/lesskey.c, 3 times
- contrib/libarchive/cpio/test/test_option_0.c, 8 times
- contrib/libarchive/libarchive/archive_write_open_file.c, line 90
- contrib/libarchive/libarchive/test/main.c, 3 times
- contrib/libarchive/libarchive/test/test_acl_pax.c, 2 times
- contrib/libarchive/libarchive/test/test_archive_read_next_header_empty.c, line 104
- contrib/libarchive/libarchive/test/test_archive_string_conversion.c, line 803
- contrib/libarchive/libarchive/test/test_fuzz.c, line 186
- contrib/libarchive/libarchive/test/test_read_disk_entry_from_file.c, line 62
- contrib/libarchive/libarchive/test/test_read_format_mtree.c, 4 times
- contrib/libarchive/tar/test/test_basic.c, line 36
- contrib/libarchive/tar/test/test_option_T_upper.c, 3 times
- contrib/libarchive/test_utils/test_main.c, 3 times
- contrib/libedit/readline.c, 3 times
- contrib/libevent/sample/http-connect.c, line 34
- contrib/libevent/sample/http-server.c, line 147
- contrib/libevent/sample/https-client.c, line 91
- contrib/libpcap/sf-pcap.c, 3 times
- contrib/libucl/src/ucl_emitter_utils.c, line 244
- contrib/libucl/utils/ucl-tool.c, line 164
- contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerIO.cpp, line 76
- contrib/llvm-project/compiler-rt/lib/profile/GCDAProfiling.c, line 579
- contrib/llvm-project/compiler-rt/lib/profile/InstrProfilingFile.c, 3 times
- contrib/llvm-project/lldb/source/Host/common/File.cpp, line 582
- contrib/llvm-project/llvm/lib/LineEditor/LineEditor.cpp, 3 times
- contrib/lua/src/lauxlib.h, line 223
- contrib/lua/src/liolib.c, line 638
- contrib/lua/src/luac.c, line 162
- contrib/mandoc/dba_write.c, 2 times
- contrib/mandoc/html.c, 3 times
- contrib/ncurses/ncurses/base/lib_screen.c, 2 times
- contrib/ncurses/ncurses/tinfo/write_entry.c, line 83
- contrib/ncurses/progs/reset_cmd.c, line 109
- contrib/netbsd-tests/lib/libc/gen/posix_spawn/t_fileactions.c, line 80
- contrib/netbsd-tests/lib/libc/stdio/t_fflush.c, line 112
- contrib/netbsd-tests/lib/libc/stdio/t_fmemopen.c, 5 times
- contrib/netbsd-tests/lib/libc/stdio/t_fopen.c, 4 times
- contrib/netbsd-tests/lib/libc/stdio/t_popen.c, line 93
- contrib/ntp/lib/isc/unix/stdio.c, line 89
- contrib/ntp/lib/isc/win32/stdio.c, line 88
- contrib/ntp/sntp/libopts/init.c, line 90
- contrib/ntp/sntp/libopts/putshell.c, line 251
- contrib/ntp/sntp/libopts/save.c, 2 times
- contrib/ntp/sntp/libopts/version.c, line 60
- contrib/nvi/common/recover.c, line 459
- contrib/nvi/ex/ex_write.c, line 332
- contrib/one-true-awk/run.c, 2 times
- contrib/openbsm/bin/auditreduce/auditreduce.c, line 596
- contrib/opie/libmissing/pututline.c, 3 times
- contrib/pf/pflogd/pflogd.c, 5 times
- contrib/processor-trace/libipt/test/src/ptunit-section.c, line 149
- contrib/sendmail/libmilter/example.c, line 166
- contrib/sendmail/libsm/smstdio.c, line 185
- contrib/sendmail/mail.local/mail.local.c, line 918
- contrib/sendmail/src/sm_resolve.c, line 265
- contrib/sqlite3/shell.c, 5 times
- contrib/telnet/telnet/utilities.c, line 906
- contrib/tnftp/src/fetch.c, line 1231
- contrib/tzcode/zic/zic.c, 5 times
- contrib/unbound/services/authzone.c, line 1634
- contrib/unbound/smallapp/unbound-anchor.c, 3 times
- contrib/wpa/hs20/client/est.c, line 580
- contrib/wpa/hs20/client/osu_client.c, line 281
- contrib/wpa/src/crypto/random.c, 2 times
- contrib/wpa/src/eap_peer/eap_fast_pac.c, line 560
- contrib/wpa/src/eap_peer/eap_teap_pac.c, line 564
- contrib/wpa/src/utils/http_curl.c, line 1648
- contrib/wpa/wpa_supplicant/hs20_supplicant.c, line 541
- contrib/xz/src/xzdec/xzdec.c, line 203
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, line 1525
- crypto/heimdal/appl/telnet/telnet/utilities.c, line 863
- crypto/heimdal/lib/asn1/asn1_gen.c, 2 times
- crypto/heimdal/lib/asn1/lex.c, line 939
- crypto/heimdal/lib/com_err/lex.c, line 616
- crypto/heimdal/lib/hx509/hxtool.c, 3 times
- crypto/heimdal/lib/hx509/ks_file.c, line 544
- crypto/heimdal/lib/krb5/replay.c, 2 times
- crypto/heimdal/lib/roken/test-readenv.c, line 68
- crypto/heimdal/lib/sl/slc-lex.c, line 595
- crypto/openssh/regress/misc/kexfuzz/kexfuzz.c, 2 times
- crypto/openssh/sshkey.c, line 1438
- crypto/openssl/crypto/asn1/a_strex.c, line 52
- crypto/openssl/crypto/bio/bio_local.h, line 163
- crypto/openssl/crypto/bio/bss_file.c, line 165
- crypto/openssl/crypto/pkcs12/p12_decr.c, line 106
- crypto/openssl/crypto/rand/rand_egd.c, line 114
- crypto/openssl/crypto/rand/randfile.c, line 245
- gnu/usr.bin/grep/grep.c, 5 times
- lib/libc/gen/pututxline.c, 3 times
- lib/libc/iconv/citrus_lookup_factory.c, line 119
- lib/libc/iconv/citrus_pivot_factory.c, line 223
- lib/libc/tests/stdio/fmemopen2_test.c, 7 times
- lib/libc/xdr/xdr_stdio.c, 2 times
- lib/libfetch/http.c, 2 times
- libexec/bootpd/dumptab.c, line 111
- libexec/bootpd/tools/bootpef/bootpef.c, line 313
- libexec/tftpd/tftp-file.c, 2 times
- sbin/ldconfig/elfhints.c, line 288
- sbin/md5/md5.c, line 523
- sbin/restore/dirs.c, 4 times
- sbin/restore/symtab.c, 4 times
- sbin/savecore/savecore.c, 3 times
- sbin/shutdown/shutdown.c, line 337
- sbin/sysctl/sysctl.c, line 1099
- share/syscons/scrnmaps/mkscrfil.c, line 46
- stand/ficl/fileaccess.c, 3 times
- stand/liblua/lutils.c, line 340
- sys/contrib/dev/acpica/common/adfile.c, line 246
- sys/contrib/dev/acpica/compiler/aslerror.c, line 566
- sys/contrib/dev/acpica/compiler/aslfileio.c, 2 times
- sys/contrib/openzfs/cmd/zgenhostid/zgenhostid.c, line 144
- sys/contrib/xz-embedded/userspace/boottest.c, line 37
- sys/contrib/xz-embedded/userspace/buftest.c, line 44
- sys/contrib/xz-embedded/userspace/bytetest.c, 2 times
- sys/contrib/xz-embedded/userspace/xzminidec.c, 2 times
- sys/contrib/zlib/test/minigzip.c, 3 times
- sys/contrib/zstd/doc/educational_decoder/harness.c, line 63
- sys/contrib/zstd/examples/common.h, 2 times
- sys/contrib/zstd/programs/datagen.c, line 179
- sys/contrib/zstd/programs/dibio.c, line 219
- sys/contrib/zstd/programs/fileio.c, 12 times
- sys/contrib/zstd/zlibWrapper/examples/fitblk_original.c, 2 times
- sys/contrib/zstd/zlibWrapper/examples/minigzip.c, 3 times
- tools/build/bootstrap-m4/inittokenizer.c, line 605
- tools/test/ppsapi/ppsapitest.c, line 178
- tools/tools/fixwhite/fixwhite.c, line 127
- tools/tools/indent_wrapper/indent_wrapper.c, line 326
- usr.bin/at/at.c, line 374
- usr.bin/bsdiff/bsdiff/bsdiff.c, 2 times
- usr.bin/compress/compress.c, 3 times
- usr.bin/compress/zopen.c, 5 times
- usr.bin/cut/cut.c, 3 times
- usr.bin/diff3/diff3.c, 2 times
- usr.bin/dtc/fdt.cc, line 1754
- usr.bin/dtc/input_buffer.cc, 2 times
- usr.bin/fetch/fetch.c, line 772
- usr.bin/fortune/fortune/fortune.c, line 1361
- usr.bin/fortune/strfile/strfile.c, 3 times
- usr.bin/gprof/gprof.c, 3 times
- usr.bin/grep/util.c, 4 times
- usr.bin/gzip/unlz.c, line 300
- usr.bin/gzip/zuncompress.c, line 151
- usr.bin/head/head.c, 2 times
- usr.bin/iconv/iconv.c, 2 times
- usr.bin/indent/io.c, line 194
- usr.bin/lex/initscan.c, line 2108
- usr.bin/localedef/localedef.c, line 220
- usr.bin/locate/code/locate.code.c, line 153
- usr.bin/mail/fio.c, 3 times
- usr.bin/mail/send.c, 6 times
- usr.bin/mkstr/mkstr.c, 2 times
- usr.bin/msgs/msgs.c, line 812
- usr.bin/newkey/update.c, 2 times
- usr.bin/nl/nl.c, line 343
- usr.bin/patch/pch.c, line 114
- usr.bin/posixshmcontrol/posixshmcontrol.c, line 335
- usr.bin/pr/pr.c, line 1243
- usr.bin/printf/printf.c, 2 times
- usr.bin/script/script.c, 2 times
- usr.bin/sdiff/edit.c, line 196
- usr.bin/sed/process.c, 4 times
- usr.bin/sort/bwstring.c, 2 times
- usr.bin/tip/tip/tipout.c, line 175
- usr.bin/uudecode/uudecode.c, line 453
- usr.bin/vtfontcvt/vtfontcvt.c, 3 times
- usr.bin/xstr/xstr.c, line 391
- usr.sbin/acpi/acpidump/acpi.c, line 2225
- usr.sbin/bsdinstall/distfetch/distfetch.c, line 178
- usr.sbin/extattr/rmextattr.c, line 302
- usr.sbin/fdread/fdread.c, 4 times
- usr.sbin/kgmon/kgmon.c, 3 times
- usr.sbin/kldxref/kldxref.c, 3 times
- usr.sbin/lpr/common_source/displayq.c, 4 times
- usr.sbin/lpr/common_source/rmjob.c, line 372
- usr.sbin/lpr/lpc/cmds.c, line 1121
- usr.sbin/makefs/cd9660/cd9660_eltorito.c, 27 times
- usr.sbin/makefs/cd9660/cd9660_write.c, 5 times
- usr.sbin/ndiscvt/ndiscvt.c, line 181
- usr.sbin/pciconf/pciconf.c, 4 times
- usr.sbin/pmcstat/pmcpl_gprof.c, line 259
- usr.sbin/pw/pw_user.c, line 730
- usr.sbin/rpc.ypupdated/update.c, 2 times
- usr.sbin/spi/spi.c, line 753
- usr.sbin/uefisign/child.c, line 222