Defined in 3 files as a prototype:
Defined in 4 files as a macro:
Defined in 2 files as a function:
Referenced in 260 files:
- bin/cat/cat.c, 5 times
- bin/ed/io.c, 3 times
- bin/pax/options.c, line 1501
- bin/setfacl/file.c, line 65
- bin/sh/mknodes.c, 2 times
- cddl/compat/opensolaris/misc/fsshare.c, 4 times
- cddl/contrib/opensolaris/cmd/zstreamdump/zstreamdump.c, line 361
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c, line 311
- contrib/amd/amd/info_file.c, line 84
- contrib/amd/fsinfo/null_lex.c, 2 times
- contrib/bearssl/test/test_x509.c, 2 times
- contrib/bearssl/tools/files.c, 2 times
- contrib/binutils/bfd/cache.c, 2 times
- contrib/binutils/binutils/objcopy.c, 2 times
- contrib/binutils/gas/input-file.c, line 150
- contrib/binutils/libiberty/argv.c, line 419
- contrib/binutils/libiberty/md5.c, line 155
- contrib/bsnmp/snmpd/config.c, line 342
- contrib/bzip2/bzip2.c, 14 times
- contrib/bzip2/bzlib.c, 10 times
- contrib/dialog/dialog.c, line 526
- contrib/dialog/guage.c, line 226
- contrib/dialog/progressbox.c, 2 times
- contrib/dialog/tailbox.c, line 131
- contrib/dialog/util.c, line 1418
- contrib/diff/lib/exclude.c, line 229
- contrib/diff/lib/unlocked-io.h, 2 times
- contrib/diff/src/cmp.c, line 152
- contrib/diff/src/diff.c, line 854
- contrib/diff/src/diff3.c, 5 times
- contrib/diff/src/sdiff.c, 4 times
- contrib/diff/src/util.c, line 285
- contrib/dtc/data.c, line 108
- contrib/dtc/flattree.c, 4 times
- contrib/elftoolchain/elfcopy/ascii.c, 3 times
- contrib/elftoolchain/elfcopy/sections.c, 2 times
- contrib/expat/examples/outline.c, line 107
- contrib/flex/filter.c, 3 times
- contrib/flex/main.c, 5 times
- contrib/gcc/c-opts.c, 2 times
- contrib/gcc/gcov.c, line 550
- contrib/gcc/genattr.c, line 280
- contrib/gcc/genattrtab.c, line 4666
- contrib/gcc/genautomata.c, 2 times
- contrib/gcc/gencodes.c, line 94
- contrib/gcc/genconditions.c, line 256
- contrib/gcc/genconfig.c, line 362
- contrib/gcc/genconstants.c, line 70
- contrib/gcc/genemit.c, line 896
- contrib/gcc/genextract.c, line 487
- contrib/gcc/genflags.c, line 277
- contrib/gcc/gengenrtl.c, line 349
- contrib/gcc/genmddeps.c, line 69
- contrib/gcc/genopinit.c, line 455
- contrib/gcc/genoutput.c, line 1069
- contrib/gcc/genpeep.c, line 430
- contrib/gcc/genpreds.c, line 1418
- contrib/gcc/genrecog.c, line 2798
- contrib/gcc/mips-tfile.c, line 2635
- contrib/gcc/system.h, line 140
- contrib/gcc/toplev.c, line 2001
- contrib/gcc/tree-browser.c, line 965
- contrib/gcclibs/libcpp/makeucnid.c, 3 times
- contrib/gcclibs/libcpp/system.h, line 132
- contrib/gcclibs/libiberty/argv.c, line 366
- contrib/gcclibs/libiberty/md5.c, line 155
- contrib/gcclibs/libmudflap/mf-hooks2.c, 2 times
- contrib/gcclibs/libmudflap/mf-runtime.h, line 155
- contrib/gdb/gdb/remote-st.c, line 327
- contrib/gperf/lib/getline.cc, line 86
- contrib/gperf/src/input.cc, line 259
- contrib/gperf/src/main.cc, line 118
- contrib/hyperv/tools/hv_kvp_daemon.c, 3 times
- contrib/ipfilter/tools/lex_var.h, 2 times
- contrib/libarchive/libarchive/archive_read_open_file.c, line 116
- contrib/libarchive/libarchive_fe/line_reader.c, line 153
- contrib/libc++/include/stdio.h, line 116
- contrib/libpcap/pcap-linux.c, line 2580
- contrib/libpcap/savefile.c, line 363
- contrib/libpcap/sf-pcap.c, 7 times
- contrib/libpcap/sf-pcapng.c, 3 times
- contrib/libstdc++/include/c/std_cstdio.h, line 45
- contrib/libstdc++/include/c_compatibility/stdio.h, line 82
- contrib/libstdc++/include/c_std/std_cstdio.h, 2 times
- contrib/libucl/tests/test_basic.c, 2 times
- contrib/libucl/utils/objdump.c, 2 times
- contrib/libucl/utils/ucl-tool.c, 2 times
- 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 214
- contrib/lua/src/lauxlib.c, line 728
- contrib/lua/src/liolib.c, line 569
- contrib/lua/src/luac.c, line 186
- contrib/mandoc/main.c, 2 times
- contrib/ncurses/ncurses/base/lib_screen.c, 4 times
- contrib/ncurses/progs/tic.c, line 417
- contrib/ncurses/progs/tset.c, line 257
- contrib/netbsd-tests/lib/libc/locale/t_io.c, line 60
- contrib/ntp/lib/isc/lex.c, line 434
- contrib/ntp/sntp/kod_management.c, 2 times
- contrib/ntp/sntp/libopts/makeshell.c, 4 times
- contrib/ntp/sntp/libopts/usage.c, 3 times
- contrib/ntp/sntp/libopts/version.c, line 173
- contrib/nvi/ex/ex_argv.c, line 779
- contrib/nvi/ex/ex_filter.c, line 313
- contrib/nvi/ex/ex_mkexrc.c, 4 times
- contrib/nvi/ex/ex_read.c, line 335
- contrib/one-true-awk/run.c, 5 times
- contrib/openbsm/bin/auditfilterd/auditfilterd_conf.c, 2 times
- contrib/openbsm/libbsm/bsm_control.c, line 120
- contrib/openpam/lib/libpam/openpam_configure.c, line 306
- contrib/openpam/lib/libpam/openpam_readword.c, line 129
- contrib/openpam/lib/libpam/openpam_ttyconv.c, line 267
- contrib/opie/opieftpd.c, 9 times
- contrib/pf/authpf/authpf.c, line 423
- contrib/sendmail/mail.local/mail.local.c, 2 times
- contrib/tcp_wrappers/rfc931.c, line 207
- contrib/tcpdump/vfprintf.c, line 53
- contrib/telnet/telnet/commands.c, line 2636
- contrib/tnftp/src/fetch.c, line 1284
- contrib/tnftp/src/ftp.c, 6 times
- contrib/tnftp/src/ruserpass.c, line 285
- contrib/tzcode/zic/zdump.c, line 379
- contrib/tzcode/zic/zic.c, 2 times
- contrib/xz/src/common/tuklib_exit.c, 2 times
- contrib/xz/src/lzmainfo/lzmainfo.c, line 107
- contrib/xz/src/xz/main.c, line 83
- contrib/xz/src/xzdec/xzdec.c, line 178
- crypto/heimdal/appl/ftp/ftp/ftp.c, 6 times
- crypto/heimdal/appl/ftp/ftp/ruserpass.c, line 283
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, 7 times
- crypto/heimdal/appl/login/read_string.c, line 93
- crypto/heimdal/appl/telnet/telnet/commands.c, line 2390
- crypto/heimdal/kadmin/util.c, line 595
- crypto/heimdal/lib/asn1/lex.c, 2 times
- crypto/heimdal/lib/com_err/lex.c, 2 times
- crypto/heimdal/lib/krb5/replay.c, line 231
- crypto/heimdal/lib/roken/environment.c, line 119
- crypto/heimdal/lib/roken/getcap.c, 2 times
- crypto/heimdal/lib/sl/slc-lex.c, 2 times
- crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c, line 43
- crypto/openssh/ssh-keygen.c, 2 times
- crypto/openssh/ssh-keyscan.c, line 792
- crypto/openssl/crypto/bio/bio_lcl.h, line 172
- crypto/openssl/crypto/bio/bss_file.c, line 151
- crypto/openssl/crypto/rand/randfile.c, line 146
- crypto/openssl/crypto/ui/ui_openssl.c, line 348
- gnu/usr.bin/grep/closeout.c, line 96
- gnu/usr.bin/grep/exclude.c, line 112
- gnu/usr.bin/grep/grep.c, line 655
- lib/libc/gen/getcap.c, 2 times
- lib/libc/stdio/ferror.c, line 46
- lib/libc/tests/gen/popen_test.c, 2 times
- lib/libc/tests/stdio/getdelim_test.c, 6 times
- lib/libc/tests/stdio/open_memstream2_test.c, line 139
- lib/libc/tests/stdio/open_wmemstream_test.c, line 139
- lib/libcompat/4.3/rexec.c, line 103
- lib/libedit/readline.c, 4 times
- libexec/ftpd/ftpd.c, 10 times
- release/picobsd/tinyware/passwd/pw_copy.c, 5 times
- sbin/camcontrol/modeedit.c, 2 times
- sbin/devfs/rule.c, line 287
- sbin/gvinum/gvinum.c, line 117
- sbin/restore/dirs.c, 3 times
- sbin/restore/symtab.c, line 514
- sbin/restore/tape.c, line 338
- sbin/routed/trace.c, 2 times
- stand/ficl/fileaccess.c, 4 times
- sys/contrib/dev/acpica/compiler/aslhex.c, line 247
- sys/contrib/zlib/test/minigzip.c, line 378
- sys/contrib/zstd/contrib/pzstd/Pzstd.cpp, 2 times
- sys/contrib/zstd/contrib/pzstd/test/RoundTrip.h, 2 times
- sys/contrib/zstd/doc/educational_decoder/harness.c, 2 times
- sys/contrib/zstd/programs/fileio.c, 3 times
- sys/contrib/zstd/programs/util.c, line 520
- sys/contrib/zstd/tests/decodecorpus.c, line 1156
- sys/contrib/zstd/tests/regression/method.c, line 295
- sys/contrib/zstd/zlibWrapper/examples/fitblk.c, line 86
- sys/contrib/zstd/zlibWrapper/examples/fitblk_original.c, 3 times
- sys/contrib/zstd/zlibWrapper/examples/minigzip.c, line 383
- tools/regression/gaithrstress/gaithrstress.c, line 163
- tools/tools/fixwhite/fixwhite.c, line 140
- usr.bin/at/at.c, 2 times
- usr.bin/cmp/special.c, 2 times
- usr.bin/col/col.c, line 341
- usr.bin/colrm/colrm.c, line 134
- usr.bin/comm/comm.c, 3 times
- usr.bin/compress/compress.c, 2 times
- usr.bin/csplit/csplit.c, 2 times
- usr.bin/cut/cut.c, line 367
- usr.bin/diff/diffreg.c, 2 times
- usr.bin/expand/expand.c, line 160
- usr.bin/factor/factor.c, line 144
- usr.bin/fetch/fetch.c, 7 times
- usr.bin/finger/net.c, line 206
- usr.bin/fmt/fmt.c, 3 times
- usr.bin/grep/grep.c, line 318
- usr.bin/gzip/gzip.c, line 1622
- usr.bin/gzip/unlz.c, 2 times
- usr.bin/hexdump/display.c, line 288
- usr.bin/join/join.c, 4 times
- usr.bin/lastcomm/readrec.c, 2 times
- usr.bin/lex/initscan.c, 2 times
- usr.bin/locate/code/locate.code.c, line 254
- usr.bin/login/login.c, line 884
- usr.bin/m4/misc.c, line 429
- usr.bin/mail/cmd2.c, line 204
- usr.bin/mail/collect.c, line 525
- usr.bin/mail/edit.c, 2 times
- usr.bin/mail/fio.c, 2 times
- usr.bin/mail/names.c, 2 times
- usr.bin/mail/quit.c, 5 times
- usr.bin/mail/send.c, 5 times
- usr.bin/mail/tty.c, line 226
- usr.bin/mkstr/mkstr.c, line 334
- usr.bin/msgs/msgs.c, 3 times
- usr.bin/nl/nl.c, 2 times
- usr.bin/patch/inp.c, line 317
- usr.bin/patch/patch.c, 3 times
- usr.bin/patch/pch.c, line 116
- usr.bin/primes/primes.c, line 186
- usr.bin/random/random.c, 2 times
- usr.bin/rev/rev.c, line 101
- usr.bin/sdiff/edit.c, line 183
- usr.bin/sdiff/sdiff.c, line 676
- usr.bin/sed/process.c, 2 times
- usr.bin/sort/file.c, 3 times
- usr.bin/sort/sort.c, line 253
- usr.bin/split/split.c, line 306
- usr.bin/tail/forward.c, 6 times
- usr.bin/tail/read.c, 2 times
- usr.bin/tail/reverse.c, line 226
- usr.bin/tr/tr.c, 4 times
- usr.bin/tset/term.c, line 132
- usr.bin/ul/ul.c, line 319
- usr.bin/unexpand/unexpand.c, line 199
- usr.bin/unifdef/unifdef.c, 4 times
- usr.bin/uniq/uniq.c, 2 times
- usr.bin/uuencode/uuencode.c, 2 times
- usr.bin/xstr/xstr.c, 6 times
- usr.sbin/chkgrp/chkgrp.c, line 187
- usr.sbin/ckdist/ckdist.c, line 215
- usr.sbin/cron/crontab/crontab.c, line 543
- usr.sbin/crunch/crunchgen/crunchgen.c, line 336
- usr.sbin/cxgbetool/cxgbetool.c, line 3571
- usr.sbin/eeprom/eeprom.c, line 105
- usr.sbin/ipfwpcap/ipfwpcap.c, line 300
- usr.sbin/lpr/pac/pac.c, line 314
- usr.sbin/makefs/cd9660/cd9660_write.c, 3 times
- usr.sbin/makefs/mtree.c, 4 times
- usr.sbin/newsyslog/newsyslog.c, line 2553
- usr.sbin/ngctl/write.c, line 87
- usr.sbin/nscd/log.c, 7 times
- usr.sbin/nscd/nscd.c, line 692
- usr.sbin/pciconf/pciconf.c, line 848
- usr.sbin/pkg/pkg.c, 2 times
- usr.sbin/pmcstat/pmcstat_log.c, line 291
- usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c, line 614
- usr.sbin/setfmac/setfmac.c, line 251
- usr.sbin/spi/spi.c, line 617