Defined in 5 files as a prototype:
Defined in 1 files as a member:
Defined in 4 files as a macro:
Defined in 2 files as a function:
Referenced in 242 files:
- bin/ed/buf.c, line 113
- bin/ed/cbc.c, line 65
- contrib/amd/fsinfo/null_lex.c, line 572
- contrib/amd/libamu/xutil.c, 5 times
- 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, line 190
- contrib/bzip2/bzip2.c, 2 times
- contrib/bzip2/bzlib.c, 2 times
- contrib/compiler-rt/lib/esan/esan_interceptors.cpp, line 525
- contrib/compiler-rt/lib/profile/GCDAProfiling.c, line 462
- contrib/compiler-rt/lib/profile/InstrProfilingFile.c, line 100
- contrib/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc, line 2719
- 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/dtc/flattree.c, line 441
- contrib/file/src/apptype.c, line 72
- contrib/flex/tables.c, 4 times
- contrib/gcc/c-pch.c, 8 times
- contrib/gcc/c-ppoutput.c, 2 times
- contrib/gcc/dbxout.c, 2 times
- contrib/gcc/gcov-io.c, line 210
- contrib/gcc/gengtype.c, line 1342
- contrib/gcc/ggc-common.c, 4 times
- contrib/gcc/ggc-page.c, 3 times
- contrib/gcc/ggc-zone.c, 3 times
- contrib/gcc/mips-tfile.c, 7 times
- contrib/gcc/system.h, line 154
- contrib/gcclibs/libcpp/files.c, line 1593
- contrib/gcclibs/libcpp/lex.c, 2 times
- contrib/gcclibs/libcpp/mkdeps.c, 3 times
- contrib/gcclibs/libcpp/pch.c, 4 times
- contrib/gcclibs/libcpp/system.h, line 146
- contrib/gcclibs/libiberty/testsuite/test-expandargv.c, line 179
- contrib/gcclibs/libmudflap/mf-hooks2.c, 2 times
- contrib/gcclibs/libmudflap/mf-runtime.h, line 143
- 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/gperf/src/output.cc, 2 times
- contrib/groff/src/devices/grolbp/lbp.cpp, line 381
- contrib/groff/src/preproc/html/pre-html.cpp, 2 times
- contrib/groff/src/preproc/tbl/table.cpp, line 127
- contrib/groff/src/utils/indxbib/indxbib.cpp, line 772
- contrib/groff/src/utils/lkbib/lkbib.cpp, line 129
- contrib/groff/src/utils/lookbib/lookbib.cpp, line 126
- 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 1037
- 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 177
- 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/libpcap/sf-pcap.c, 3 times
- contrib/libreadline/complete.c, line 676
- contrib/libreadline/terminal.c, line 622
- contrib/libstdc++/include/c/std_cstdio.h, line 60
- contrib/libstdc++/include/c_compatibility/stdio.h, line 74
- contrib/libstdc++/include/c_std/std_cstdio.h, 2 times
- contrib/libstdc++/include/ext/stdio_sync_filebuf.h, line 217
- contrib/libucl/src/ucl_emitter_utils.c, line 244
- contrib/libucl/utils/ucl-tool.c, line 164
- contrib/llvm/lib/LineEditor/LineEditor.cpp, 3 times
- contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp, line 980
- contrib/llvm/tools/lldb/source/API/SBDebugger.cpp, 2 times
- contrib/llvm/tools/lldb/source/API/SBProcess.cpp, line 386
- contrib/llvm/tools/lldb/source/Host/common/File.cpp, line 559
- contrib/llvm/tools/lldb/tools/lldb-mi/MIUtilFileStd.cpp, 2 times
- contrib/mdocml/dba_write.c, 2 times
- contrib/mdocml/html.c, 3 times
- contrib/ncurses/ncurses/base/lib_screen.c, 2 times
- contrib/ncurses/ncurses/tinfo/write_entry.c, line 73
- contrib/ncurses/progs/tset.c, line 237
- 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 471
- contrib/nvi/ex/ex_write.c, line 336
- contrib/one-true-awk/run.c, 2 times
- contrib/openbsm/bin/auditreduce/auditreduce.c, line 561
- contrib/opie/libmissing/pututline.c, 3 times
- contrib/pf/pflogd/pflogd.c, 5 times
- contrib/sendmail/libmilter/example.c, line 166
- contrib/sendmail/libsm/smstdio.c, line 185
- contrib/sendmail/mail.local/mail.local.c, line 918
- contrib/sqlite3/shell.c, 2 times
- contrib/telnet/telnet/utilities.c, line 910
- contrib/tnftp/src/fetch.c, line 1231
- contrib/tzcode/zic/zic.c, 5 times
- contrib/unbound/smallapp/unbound-anchor.c, 3 times
- contrib/wpa/hs20/client/est.c, 2 times
- contrib/wpa/hs20/client/osu_client.c, line 250
- contrib/wpa/src/crypto/random.c, 2 times
- contrib/wpa/src/eap_peer/eap_fast_pac.c, line 560
- contrib/wpa/src/utils/http_curl.c, line 1539
- contrib/wpa/wpa_supplicant/hs20_supplicant.c, line 311
- contrib/xz/src/xzdec/xzdec.c, line 203
- contrib/zlib/test/minigzip.c, 3 times
- 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 537
- 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 1492
- crypto/openssl/crypto/asn1/a_strex.c, line 111
- crypto/openssl/crypto/bio/bio_lcl.h, line 11
- crypto/openssl/crypto/bio/bss_file.c, line 271
- crypto/openssl/crypto/des/des.c, 7 times
- crypto/openssl/crypto/pkcs12/p12_decr.c, line 151
- crypto/openssl/crypto/rand/randfile.c, line 307
- crypto/openssl/crypto/rc4/rc4.c, line 169
- crypto/openssl/ssl/s3_clnt.c, line 2196
- gnu/usr.bin/grep/grep.c, 5 times
- gnu/usr.bin/rcs/lib/rcsbase.h, line 201
- lib/libc/gen/pututxline.c, 3 times
- lib/libc/iconv/citrus_lookup_factory.c, line 117
- lib/libc/iconv/citrus_pivot_factory.c, line 221
- lib/libc/tests/stdio/fmemopen2_test.c, 7 times
- lib/libc/xdr/xdr_stdio.c, 2 times
- lib/libedit/readline.c, 3 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 464
- sbin/restore/dirs.c, 4 times
- sbin/restore/symtab.c, 4 times
- sbin/savecore/savecore.c, 3 times
- sbin/shutdown/shutdown.c, line 332
- sbin/sysctl/sysctl.c, line 992
- secure/usr.bin/bdes/bdes.c, line 114
- share/syscons/scrnmaps/mkscrfil.c, line 44
- stand/ficl/fileaccess.c, 3 times
- sys/contrib/dev/acpica/common/adfile.c, line 246
- sys/contrib/dev/acpica/compiler/aslerror.c, line 554
- sys/contrib/dev/acpica/compiler/aslfileio.c, 2 times
- 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
- 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/dtc/fdt.cc, line 1633
- usr.bin/dtc/input_buffer.cc, 2 times
- usr.bin/fetch/fetch.c, line 744
- usr.bin/fortune/fortune/fortune.c, line 1360
- 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/zuncompress.c, line 149
- usr.bin/head/head.c, 2 times
- usr.bin/iconv/iconv.c, 2 times
- usr.bin/indent/io.c, line 247
- usr.bin/lex/initscan.c, 3 times
- usr.bin/localedef/localedef.c, line 216
- usr.bin/locate/code/locate.code.c, line 151
- 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 809
- usr.bin/newkey/update.c, 2 times
- usr.bin/nl/nl.c, line 344
- usr.bin/patch/pch.c, line 112
- usr.bin/pr/pr.c, line 1241
- 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 173
- usr.bin/uudecode/uudecode.c, line 451
- usr.bin/vtfontcvt/vtfontcvt.c, 3 times
- usr.bin/xlint/common/emit.c, line 113
- usr.bin/xlint/lint1/emit.c, line 114
- usr.bin/xstr/xstr.c, line 389
- usr.sbin/acpi/acpidump/acpi.c, line 1826
- usr.sbin/bsdinstall/distfetch/distfetch.c, line 178
- usr.sbin/ctm/ctm/ctm_pass2.c, line 267
- usr.sbin/ctm/ctm/ctm_pass3.c, line 203
- usr.sbin/ctm/ctm/ctm_passb.c, line 119
- usr.sbin/ctm/ctm_rmail/ctm_rmail.c, 2 times
- usr.sbin/ctm/ctm_smail/ctm_smail.c, line 365
- usr.sbin/ctm/mkCTM/mkctm.c, 3 times
- 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 370
- usr.sbin/lpr/lpc/cmds.c, line 1119
- usr.sbin/makefs/cd9660/cd9660_eltorito.c, 27 times
- usr.sbin/makefs/cd9660/cd9660_write.c, 5 times
- usr.sbin/ndiscvt/ndiscvt.c, line 179
- usr.sbin/pmcstat/pmcpl_gprof.c, line 256
- usr.sbin/pw/pw_user.c, line 729
- usr.sbin/rpc.ypupdated/update.c, 2 times
- usr.sbin/uefisign/child.c, line 226