Defined in 2 files as a prototype:
Defined in 2 files as a macro:
Defined in 2 files as a function:
Referenced in 198 files:
- bin/cat/cat.c, line 233
- bin/ed/io.c, line 118
- bin/pkill/pkill.c, line 834
- bin/setfacl/file.c, line 68
- 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/bmake/filemon/filemon_ktrace.c, line 524
- contrib/byacc/test/btyacc/btyacc_calc1.tab.c, line 473
- contrib/byacc/test/btyacc/calc.tab.c, line 474
- contrib/byacc/test/btyacc/calc2.tab.c, line 483
- contrib/byacc/test/btyacc/calc3.tab.c, line 436
- contrib/byacc/test/btyacc/calc_code_all.tab.c, line 502
- contrib/byacc/test/btyacc/calc_code_default.tab.c, line 482
- contrib/byacc/test/btyacc/calc_code_imports.tab.c, line 474
- contrib/byacc/test/btyacc/calc_code_provides.tab.c, line 482
- contrib/byacc/test/btyacc/calc_code_requires.tab.c, line 482
- contrib/byacc/test/btyacc/calc_code_top.tab.c, line 482
- contrib/byacc/test/btyacc/code_calc.code.c, line 347
- contrib/byacc/test/btyacc/defines1.calc.c, line 381
- contrib/byacc/test/btyacc/defines2.calc.c, line 381
- contrib/byacc/test/btyacc/defines3.calc.c, line 381
- contrib/byacc/test/btyacc/ok_syntax1.tab.c, line 459
- contrib/byacc/test/btyacc/pure_calc.tab.c, line 436
- contrib/byacc/test/btyacc/quote_calc-s.tab.c, line 493
- contrib/byacc/test/btyacc/quote_calc.tab.c, line 499
- contrib/byacc/test/btyacc/quote_calc2-s.tab.c, line 493
- contrib/byacc/test/btyacc/quote_calc2.tab.c, line 499
- contrib/byacc/test/btyacc/quote_calc3-s.tab.c, line 494
- contrib/byacc/test/btyacc/quote_calc3.tab.c, line 494
- contrib/byacc/test/btyacc/quote_calc4-s.tab.c, line 494
- contrib/byacc/test/btyacc/quote_calc4.tab.c, line 494
- contrib/byacc/test/btyacc/stdin1.calc.c, line 381
- contrib/byacc/test/btyacc/stdin2.calc.c, line 381
- contrib/byacc/test/yacc/calc.tab.c, line 319
- contrib/byacc/test/yacc/calc2.tab.c, line 328
- contrib/byacc/test/yacc/calc3.tab.c, line 325
- contrib/byacc/test/yacc/calc_code_all.tab.c, line 347
- contrib/byacc/test/yacc/calc_code_default.tab.c, line 327
- contrib/byacc/test/yacc/calc_code_imports.tab.c, line 319
- contrib/byacc/test/yacc/calc_code_provides.tab.c, line 327
- contrib/byacc/test/yacc/calc_code_requires.tab.c, line 327
- contrib/byacc/test/yacc/calc_code_top.tab.c, line 327
- contrib/byacc/test/yacc/code_calc.code.c, line 228
- contrib/byacc/test/yacc/defines1.calc.c, line 243
- contrib/byacc/test/yacc/defines2.calc.c, line 243
- contrib/byacc/test/yacc/defines3.calc.c, line 243
- contrib/byacc/test/yacc/ok_syntax1.tab.c, line 349
- contrib/byacc/test/yacc/pure_calc.tab.c, line 325
- contrib/byacc/test/yacc/quote_calc-s.tab.c, line 335
- contrib/byacc/test/yacc/quote_calc.tab.c, line 341
- contrib/byacc/test/yacc/quote_calc2-s.tab.c, line 335
- contrib/byacc/test/yacc/quote_calc2.tab.c, line 341
- contrib/byacc/test/yacc/quote_calc3-s.tab.c, line 336
- contrib/byacc/test/yacc/quote_calc3.tab.c, line 336
- contrib/byacc/test/yacc/quote_calc4-s.tab.c, line 336
- contrib/byacc/test/yacc/quote_calc4.tab.c, line 336
- contrib/byacc/test/yacc/stdin1.calc.c, line 243
- contrib/byacc/test/yacc/stdin2.calc.c, line 243
- 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/expat/examples/outline.c, line 104
- contrib/file/src/getline.c, line 55
- 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 154
- contrib/libpcap/sf-pcap.c, line 957
- 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-project/libcxx/include/stdio.h, line 114
- contrib/llvm-project/lldb/source/Core/IOHandler.cpp, line 396
- contrib/llvm-project/lldb/source/Core/IOHandlerCursesGUI.cpp, line 1260
- contrib/llvm-project/lldb/source/Host/common/File.cpp, 2 times
- contrib/llvm-project/openmp/runtime/src/kmp_affinity.cpp, 2 times
- contrib/lua/src/lauxlib.c, line 653
- contrib/mandoc/compat_getline.c, line 59
- contrib/ncurses/ncurses/tinfo/comp_scan.c, line 292
- contrib/ncurses/progs/tic.c, line 427
- contrib/ncurses/progs/tset.c, line 174
- 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 781
- contrib/nvi/ex/ex_util.c, line 66
- contrib/openbsm/bin/auditfilterd/auditfilterd_conf.c, line 299
- 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 206
- contrib/telnet/telnet/commands.c, line 2633
- contrib/tnftp/src/ftp.c, line 420
- contrib/tnftp/src/ruserpass.c, line 285
- contrib/tnftp/src/util.c, line 1304
- contrib/unbound/iterator/iter_hints.c, line 323
- contrib/unbound/services/authzone.c, line 1479
- contrib/unbound/smallapp/unbound-anchor.c, line 397
- 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 1439
- crypto/openssl/apps/apps.c, line 2736
- crypto/openssl/crypto/bio/bio_local.h, line 165
- crypto/openssl/crypto/bio/bss_file.c, line 198
- 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
- sbin/fdisk/fdisk.c, line 1355
- sbin/fsck_ffs/fsutil.c, line 145
- sbin/fsck_msdosfs/main.c, line 159
- sbin/ggate/ggated/ggated.c, 2 times
- sbin/ipfw/ipfw2.c, line 5452
- sbin/iscontrol/config.c, line 237
- sbin/pfctl/pfctl_radix.c, 4 times
- sbin/recoverdisk/recoverdisk.c, line 357
- sbin/restore/dirs.c, line 598
- sbin/restore/tape.c, line 340
- sbin/savecore/savecore.c, line 245
- 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/openzfs/cmd/zstream/zstream_redup.c, line 367
- sys/contrib/openzfs/lib/libspl/os/linux/getmntany.c, line 79
- sys/contrib/zstd/examples/common.h, line 130
- sys/contrib/zstd/programs/fileio.c, 3 times
- sys/contrib/zstd/programs/util.c, 3 times
- 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 1677
- 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 193
- 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 421
- 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 757
- 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 105
- usr.sbin/mailwrapper/mailwrapper.c, line 128
- usr.sbin/makefs/cd9660/cd9660_write.c, line 449
- usr.sbin/mtest/mtest.c, line 238
- usr.sbin/newsyslog/newsyslog.c, line 2281
- 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