Defined in 3 files as a prototype:
Defined in 4 files as a macro:
Defined in 2 files as a function:
Referenced in 196 files:
- bin/cat/cat.c, line 216
- bin/ed/io.c, line 118
- bin/pkill/pkill.c, line 834
- bin/setfacl/file.c, line 68
- contrib/amd/amd/info_file.c, line 84
- contrib/amd/hlfsd/homedir.c, line 486
- contrib/amd/mk-amd-map/mk-amd-map.c, line 98
- contrib/binutils/binutils/rclex.c, line 649
- contrib/binutils/binutils/resrc.c, 4 times
- contrib/binutils/libiberty/cp-demangle.c, 4 times
- contrib/binutils/opcodes/i386-gen.c, 2 times
- contrib/binutils/opcodes/ia64-gen.c, 2 times
- contrib/byacc/test/btyacc/btyacc_calc1.tab.c, line 472
- contrib/byacc/test/btyacc/calc.tab.c, line 471
- contrib/byacc/test/btyacc/calc2.tab.c, line 480
- contrib/byacc/test/btyacc/calc3.tab.c, line 435
- contrib/byacc/test/btyacc/code_calc.code.c, line 344
- contrib/byacc/test/btyacc/ok_syntax1.tab.c, line 458
- contrib/byacc/test/btyacc/pure_calc.tab.c, line 435
- contrib/byacc/test/btyacc/quote_calc-s.tab.c, line 490
- contrib/byacc/test/btyacc/quote_calc.tab.c, line 496
- contrib/byacc/test/btyacc/quote_calc2-s.tab.c, line 490
- contrib/byacc/test/btyacc/quote_calc2.tab.c, line 496
- contrib/byacc/test/btyacc/quote_calc3-s.tab.c, line 491
- contrib/byacc/test/btyacc/quote_calc3.tab.c, line 491
- contrib/byacc/test/btyacc/quote_calc4-s.tab.c, line 491
- contrib/byacc/test/btyacc/quote_calc4.tab.c, line 491
- contrib/byacc/test/yacc/calc.tab.c, line 317
- contrib/byacc/test/yacc/calc2.tab.c, line 326
- contrib/byacc/test/yacc/calc3.tab.c, line 324
- contrib/byacc/test/yacc/code_calc.code.c, line 226
- contrib/byacc/test/yacc/ok_syntax1.tab.c, line 348
- contrib/byacc/test/yacc/pure_calc.tab.c, line 324
- contrib/byacc/test/yacc/quote_calc-s.tab.c, line 333
- contrib/byacc/test/yacc/quote_calc.tab.c, line 339
- contrib/byacc/test/yacc/quote_calc2-s.tab.c, line 333
- contrib/byacc/test/yacc/quote_calc2.tab.c, line 339
- contrib/byacc/test/yacc/quote_calc3-s.tab.c, line 334
- contrib/byacc/test/yacc/quote_calc3.tab.c, line 334
- contrib/byacc/test/yacc/quote_calc4-s.tab.c, line 334
- contrib/byacc/test/yacc/quote_calc4.tab.c, line 334
- contrib/capsicum-test/capsicum-test.cc, line 40
- contrib/dialog/guage.c, 2 times
- contrib/dialog/progressbox.c, line 166
- contrib/dialog/samples/install/setup.c, line 92
- contrib/dialog/tailbox.c, 3 times
- contrib/dialog/util.c, 2 times
- contrib/diff/lib/unlocked-io.h, 2 times
- contrib/diff/src/diff3.c, 3 times
- contrib/diff/src/sdiff.c, line 955
- contrib/dma/conf.c, 2 times
- contrib/dma/local.c, line 208
- contrib/dma/mail.c, 2 times
- contrib/dma/net.c, line 453
- contrib/dma/spool.c, line 171
- contrib/dtc/data.c, line 97
- contrib/dtc/flattree.c, 3 times
- contrib/expat/examples/outline.c, line 111
- contrib/file/src/getline.c, line 55
- contrib/gcc/mips-tfile.c, line 4331
- contrib/gcc/system.h, line 98
- contrib/gcclibs/libcpp/system.h, line 90
- contrib/gcclibs/libiberty/cp-demangle.c, 4 times
- contrib/gcclibs/libiberty/testsuite/test-demangle.c, line 200
- contrib/gcclibs/libmudflap/mf-hooks2.c, 2 times
- contrib/gcclibs/libmudflap/mf-runtime.h, line 154
- contrib/gdb/gdb/top.c, 2 times
- contrib/hyperv/tools/hv_kvp_daemon.c, 2 times
- contrib/ipfilter/lib/ipft_hx.c, line 152
- contrib/ipfilter/lib/ipft_tx.c, line 159
- contrib/ldns/dnssec_zone.c, line 674
- contrib/ldns/zone.c, line 226
- contrib/libarchive/libarchive_fe/line_reader.c, line 155
- contrib/libc++/include/stdio.h, line 115
- contrib/libpcap/sf-pcap.c, line 886
- contrib/libstdc++/include/c/std_cstdio.h, line 44
- contrib/libstdc++/include/c_compatibility/stdio.h, line 81
- contrib/libstdc++/include/c_std/std_cstdio.h, 2 times
- contrib/libucl/tests/test_basic.c, line 131
- contrib/libucl/utils/objdump.c, line 129
- contrib/libucl/utils/ucl-tool.c, line 109
- contrib/llvm/tools/lldb/source/Core/IOHandler.cpp, 2 times
- contrib/llvm/tools/lldb/source/Host/common/File.cpp, 2 times
- contrib/llvm/tools/lldb/tools/lldb-mi/MICmnStreamStdin.cpp, line 211
- contrib/lua/src/lauxlib.c, line 653
- contrib/mandoc/compat_getline.c, line 59
- contrib/ncurses/ncurses/tinfo/comp_scan.c, line 288
- contrib/ncurses/progs/tic.c, line 415
- contrib/ncurses/progs/tset.c, line 257
- contrib/netbsd-tests/lib/libc/stdio/t_clearerr.c, 3 times
- contrib/netbsd-tests/lib/libc/stdio/t_fmemopen.c, 13 times
- contrib/ntp/lib/isc/unix/stdio.c, line 71
- contrib/ntp/lib/isc/win32/stdio.c, line 70
- contrib/ntp/sntp/crypto.c, 2 times
- contrib/ntp/sntp/kod_management.c, 2 times
- contrib/nvi/ex/ex_cscope.c, line 791
- contrib/nvi/ex/ex_util.c, line 70
- contrib/openbsm/bin/auditfilterd/auditfilterd_conf.c, line 299
- contrib/openmp/runtime/src/kmp_affinity.cpp, 2 times
- contrib/openpam/lib/libpam/openpam_configure.c, line 308
- contrib/opie/libopie/accessfile.c, line 98
- contrib/opie/opielogin.c, line 1087
- contrib/opie/opiepasswd.c, 2 times
- contrib/opie/permsfile.c, line 157
- contrib/pf/authpf/authpf.c, 4 times
- contrib/pf/pflogd/pflogd.c, line 441
- contrib/tcp_wrappers/rfc931.c, line 207
- contrib/telnet/telnet/commands.c, line 2636
- contrib/tnftp/src/ftp.c, line 420
- contrib/tnftp/src/ruserpass.c, line 285
- contrib/tnftp/src/util.c, line 1290
- contrib/unbound/iterator/iter_hints.c, line 323
- contrib/unbound/services/authzone.c, line 1463
- contrib/unbound/smallapp/unbound-anchor.c, line 393
- contrib/unbound/validator/val_anchor.c, line 444
- contrib/xz/src/xz/main.c, line 94
- contrib/xz/src/xzdec/xzdec.c, 3 times
- crypto/heimdal/appl/ftp/ftp/ruserpass.c, line 283
- crypto/heimdal/appl/telnet/telnet/commands.c, line 2390
- crypto/openssh/openbsd-compat/bsd-getline.c, line 64
- crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c, line 44
- crypto/openssh/sshkey.c, line 1455
- crypto/openssl/apps/apps.c, line 2709
- crypto/openssl/crypto/bio/bio_lcl.h, line 165
- crypto/openssl/crypto/bio/bss_file.c, line 201
- crypto/openssl/crypto/ui/ui_openssl.c, line 346
- gnu/usr.bin/grep/grep.c, line 1549
- lib/libc/gen/getttyent.c, line 136
- lib/libc/stdio/feof.c, line 46
- lib/libc/tests/gen/popen_test.c, line 108
- lib/libc/tests/nss/testutil.h, line 268
- lib/libc/tests/stdio/getdelim_test.c, 3 times
- lib/libcompat/4.3/rexec.c, line 103
- libexec/ftpd/ftpd.c, 2 times
- libexec/tftpd/tftp-file.c, line 135
- release/picobsd/tinyware/oinit/oinit.c, 2 times
- sbin/fdisk/fdisk.c, line 1383
- sbin/fsck_ffs/fsutil.c, line 145
- sbin/fsck_msdosfs/main.c, line 153
- sbin/ggate/ggated/ggated.c, 2 times
- sbin/ipfw/ipfw2.c, line 5383
- sbin/iscontrol/config.c, line 237
- sbin/pfctl/pfctl_radix.c, 4 times
- sbin/recoverdisk/recoverdisk.c, line 119
- sbin/restore/dirs.c, line 598
- sbin/restore/tape.c, line 338
- sbin/savecore/savecore.c, line 239
- stand/ficl/fileaccess.c, line 306
- sys/contrib/dev/acpica/compiler/aslfileio.c, line 283
- sys/contrib/octeon-sdk/cvmx-sysinfo.c, line 204
- sys/contrib/zstd/contrib/pzstd/Pzstd.cpp, line 346
- sys/contrib/zstd/contrib/pzstd/test/RoundTrip.h, 2 times
- sys/contrib/zstd/contrib/seekable_format/examples/parallel_compression.c, line 53
- sys/contrib/zstd/contrib/seekable_format/examples/parallel_processing.c, line 67
- sys/contrib/zstd/contrib/seekable_format/examples/seekable_compression.c, line 40
- sys/contrib/zstd/contrib/seekable_format/examples/seekable_decompression.c, line 54
- sys/contrib/zstd/doc/educational_decoder/harness.c, line 46
- sys/contrib/zstd/examples/common.h, line 130
- sys/contrib/zstd/programs/fileio.c, 2 times
- sys/contrib/zstd/programs/util.c, line 500
- sys/contrib/zstd/zlibWrapper/examples/fitblk.c, line 89
- sys/contrib/zstd/zlibWrapper/examples/fitblk_original.c, line 84
- sys/netinet/libalias/alias.c, line 1662
- tools/tools/ath/ath_ee_9287_print/eeprom.c, 2 times
- tools/tools/ath/ath_ee_9300_print/main.c, 2 times
- tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c, 2 times
- tools/tools/ath/ath_ee_v4k_print/eeprom.c, 2 times
- usr.bin/bsdiff/bspatch/bspatch.c, line 181
- usr.bin/cmp/special.c, 3 times
- usr.bin/colrm/colrm.c, line 132
- usr.bin/csplit/csplit.c, line 198
- usr.bin/fortune/unstr/unstr.c, line 97
- usr.bin/gprof/gprof.c, line 417
- usr.bin/gzip/unlz.c, line 439
- usr.bin/iconv/iconv.c, line 108
- usr.bin/mkstr/mkstr.c, line 334
- usr.bin/msgs/msgs.c, line 379
- usr.bin/sdiff/edit.c, line 183
- usr.bin/sed/main.c, 2 times
- usr.bin/sort/bwstring.c, 5 times
- usr.bin/sort/file.c, line 738
- usr.bin/tail/reverse.c, 2 times
- usr.bin/tftp/main.c, line 754
- usr.bin/tset/term.c, line 132
- usr.bin/units/units.c, line 161
- usr.bin/xstr/xstr.c, 2 times
- usr.sbin/ckdist/ckdist.c, 2 times
- usr.sbin/cxgbetool/cxgbetool.c, line 3445
- usr.sbin/fstyp/fstyp.c, line 95
- usr.sbin/mailwrapper/mailwrapper.c, line 127
- usr.sbin/makefs/cd9660/cd9660_write.c, line 449
- usr.sbin/mtest/mtest.c, line 238
- usr.sbin/newsyslog/newsyslog.c, line 2267
- usr.sbin/pmcstat/pmcstat_log.c, line 291
- usr.sbin/portsnap/make_index/make_index.c, line 469
- usr.sbin/setfmac/setfmac.c, line 261