Defined in 5 files as a prototype:
Defined in 2 files as a member:
Defined in 13 files as a macro:
- external/gpl2/diffutils/dist/lib/unlocked-io.h, line 55 (as a macro)
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/localcharset.c, line 87 (as a macro)
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/unlocked-io.h, line 102 (as a macro)
- external/gpl2/gettext/dist/gettext-runtime/intl/localcharset.c, line 88 (as a macro)
- external/gpl2/gettext/dist/gettext-tools/src/po-lex.c, line 65 (as a macro)
- external/gpl2/grep/dist/intl/localcharset.c, line 84 (as a macro)
- external/gpl2/texinfo/dist/intl/localcharset.c, line 93 (as a macro)
- external/gpl3/binutils/dist/intl/localcharset.c, line 91 (as a macro)
- external/gpl3/gcc/dist/fixincludes/system.h, line 70 (as a macro)
- external/gpl3/gcc/dist/gcc/system.h, line 97 (as a macro)
- external/gpl3/gcc/dist/libcpp/system.h, line 83 (as a macro)
- external/gpl3/gdb/dist/gdb/gnulib/import/localcharset.c, line 105 (as a macro)
- include/stdio.h, line 496 (as a macro)
Defined in 3 files as a function:
Referenced in 317 files:
- bin/cat/cat.c, line 176
- bin/ed/io.c, line 128
- common/dist/zlib/examples/zran.c, line 281
- crypto/external/bsd/heimdal/dist/lib/hcrypto/ui.c, line 151
- crypto/external/bsd/heimdal/dist/lib/roken/iruserok.c, line 120
- distrib/utils/libhack/getgrent.c, line 274
- distrib/utils/libhack/getpwent.c, line 222
- distrib/utils/more/os.c, line 247
- external/bsd/am-utils/dist/amd/info_file.c, line 79
- external/bsd/am-utils/dist/mk-amd-map/mk-amd-map.c, line 94
- external/bsd/byacc/dist/output.c, 7 times
- external/bsd/byacc/dist/reader.c, 2 times
- external/bsd/bzip2/dist/bzip2recover.c, line 220
- external/bsd/cron/dist/do_command.c, 2 times
- external/bsd/cron/dist/misc.c, line 368
- external/bsd/ekermit/dist/unixio.c, line 511
- external/bsd/file/dist/tests/test.c, 2 times
- external/bsd/flex/dist/examples/fastwc/mywc.c, 2 times
- external/bsd/flex/dist/src/initscan.c, line 2107
- external/bsd/ipf/dist/tools/lex_var.h, 3 times
- external/bsd/kyua-testers/dist/atf_result.c, line 105
- external/bsd/less/dist/filename.c, line 547
- external/bsd/libbind/dist/dst/dst_api.c, 9 times
- external/bsd/libbind/dist/irs/lcl_ho.c, line 366
- external/bsd/libbind/dist/irs/lcl_nw.c, line 260
- external/bsd/libbind/dist/irs/lcl_pr.c, line 238
- external/bsd/libc++/dist/libcxx/test/depr/depr.c.headers/stdio_h.pass.cpp, line 118
- external/bsd/libc++/dist/libcxx/test/input.output/file.streams/c.files/cstdio.pass.cpp, line 119
- external/bsd/libc++/dist/libcxx/test/std/depr/depr.c.headers/stdio_h.pass.cpp, line 121
- external/bsd/libc++/dist/libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp, line 109
- external/bsd/libpcap/dist/etherent.c, 6 times
- external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp, line 871
- external/bsd/llvm/dist/clang/test/Analysis/block-in-critical-section.cpp, 6 times
- external/bsd/llvm/dist/clang/test/Analysis/conversion.c, line 168
- external/bsd/llvm/dist/clang/test/Analysis/std-c-library-functions.c, line 17
- external/bsd/llvm/dist/clang/test/SemaCXX/err_typecheck_assign_const.cpp, line 85
- external/bsd/nsd/dist/configlexer.c, line 1638
- external/bsd/nsd/dist/zlexer.c, line 765
- external/bsd/ntp/dist/lib/isc/lex.c, line 433
- external/bsd/ntp/dist/ntpd/ntp_leapsec.c, 2 times
- external/bsd/ntp/dist/ntpdc/ntpdc.c, line 1979
- external/bsd/ntp/dist/ntpq/ntpq.c, line 2893
- external/bsd/nvi/dist/catalog/dump.c, 5 times
- external/bsd/nvi/dist/ex/ex_argv.c, line 715
- external/bsd/nvi/dist/ex/ex_cscope.c, 4 times
- external/bsd/nvi/dist/ex/ex_util.c, line 76
- external/bsd/openldap/dist/libraries/liblutil/getpass.c, line 114
- external/bsd/openpam/dist/lib/libpam/openpam_readword.c, 2 times
- external/bsd/pcc/dist/pcc/f77/fcom/lex.c, 5 times
- external/bsd/pcc/dist/pcc/f77/fcom/main.c, 6 times
- external/bsd/pdisk/dist/io.c, line 104
- external/bsd/ppp/dist/pppd/options.c, 10 times
- external/bsd/ppp/dist/pppdump/pppdump.c, 14 times
- external/bsd/smbfs/dist/lib/smb/rcfile.c, line 246
- external/bsd/unbound/dist/sldns/parse.c, line 60
- external/bsd/unbound/dist/util/configlexer.c, line 3556
- external/bsd/unbound/dist/validator/val_anchor.c, 5 times
- external/gpl2/diffutils/dist/lib/exclude.c, line 240
- external/gpl2/diffutils/dist/lib/unlocked-io.h, line 54
- external/gpl2/diffutils/dist/src/diff3.c, 3 times
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/localcharset.c, 3 times
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/relocatable.c, 2 times
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/unlocked-io.h, 2 times
- external/gpl2/gettext/dist/gettext-runtime/intl/localcharset.c, 3 times
- external/gpl2/gettext/dist/gettext-runtime/intl/relocatable.c, 2 times
- external/gpl2/gettext/dist/gettext-runtime/src/envsubst.c, line 434
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/getdelim.c, line 82
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/localcharset.c, 3 times
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/relocatable.c, 2 times
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/unlocked-io.h, 2 times
- external/gpl2/gettext/dist/gettext-tools/libgettextpo/getdelim.c, line 82
- external/gpl2/gettext/dist/gettext-tools/libgettextpo/localcharset.c, 3 times
- external/gpl2/gettext/dist/gettext-tools/libgettextpo/relocatable.c, 2 times
- external/gpl2/gettext/dist/gettext-tools/libgettextpo/unlocked-io.h, 2 times
- external/gpl2/gettext/dist/gettext-tools/libuniname/test-names.c, 2 times
- external/gpl2/gettext/dist/gettext-tools/src/po-lex.c, 4 times
- external/gpl2/gettext/dist/gettext-tools/src/read-properties.c, line 76
- external/gpl2/gettext/dist/gettext-tools/src/read-stringtable.c, line 91
- external/gpl2/gettext/dist/gettext-tools/src/recode-sr-latin.c, line 217
- external/gpl2/gettext/dist/gettext-tools/src/x-awk.c, line 134
- external/gpl2/gettext/dist/gettext-tools/src/x-c.c, 2 times
- external/gpl2/gettext/dist/gettext-tools/src/x-csharp.c, line 155
- external/gpl2/gettext/dist/gettext-tools/src/x-elisp.c, line 140
- external/gpl2/gettext/dist/gettext-tools/src/x-java.c, line 167
- external/gpl2/gettext/dist/gettext-tools/src/x-librep.c, line 142
- external/gpl2/gettext/dist/gettext-tools/src/x-lisp.c, line 207
- external/gpl2/gettext/dist/gettext-tools/src/x-php.c, line 157
- external/gpl2/gettext/dist/gettext-tools/src/x-python.c, line 171
- external/gpl2/gettext/dist/gettext-tools/src/x-rst.c, 8 times
- external/gpl2/gettext/dist/gettext-tools/src/x-scheme.c, line 166
- external/gpl2/gettext/dist/gettext-tools/src/x-sh.c, line 150
- external/gpl2/gettext/dist/gettext-tools/src/x-smalltalk.c, line 86
- external/gpl2/gettext/dist/gettext-tools/src/x-tcl.c, line 145
- external/gpl2/gettext/dist/gettext-tools/src/x-ycp.c, line 86
- external/gpl2/gettext/dist/gnulib-local/lib/gen-lbrkprop.c, 5 times
- external/gpl2/gettext/dist/gnulib-local/lib/relocatable.c, 2 times
- external/gpl2/grep/dist/intl/localcharset.c, 3 times
- external/gpl2/grep/dist/lib/exclude.c, line 105
- external/gpl2/groff/dist/src/devices/grohtml/output.cpp, line 165
- external/gpl2/groff/dist/src/devices/grops/ps.cpp, line 109
- external/gpl2/groff/dist/src/devices/grops/psrm.cpp, 9 times
- external/gpl2/groff/dist/src/devices/xditview/Dvi.c, line 581
- external/gpl2/groff/dist/src/devices/xditview/DviP.h, 2 times
- external/gpl2/groff/dist/src/devices/xditview/lex.c, 2 times
- external/gpl2/groff/dist/src/libs/libbib/index.cpp, 3 times
- external/gpl2/groff/dist/src/libs/libdriver/input.cpp, line 634
- external/gpl2/groff/dist/src/libs/libgroff/font.cpp, line 111
- external/gpl2/groff/dist/src/preproc/eqn/lex.cpp, line 379
- external/gpl2/groff/dist/src/preproc/eqn/main.cpp, line 56
- external/gpl2/groff/dist/src/preproc/grn/hdb.cpp, 9 times
- external/gpl2/groff/dist/src/preproc/html/pre-html.cpp, 2 times
- external/gpl2/groff/dist/src/preproc/pic/lex.cpp, 5 times
- external/gpl2/groff/dist/src/preproc/pic/main.cpp, 20 times
- external/gpl2/groff/dist/src/preproc/refer/command.cpp, 5 times
- external/gpl2/groff/dist/src/preproc/refer/refer.cpp, 11 times
- external/gpl2/groff/dist/src/preproc/soelim/soelim.cpp, 3 times
- external/gpl2/groff/dist/src/preproc/tbl/main.cpp, 11 times
- external/gpl2/groff/dist/src/roff/troff/env.cpp, 5 times
- external/gpl2/groff/dist/src/roff/troff/input.cpp, 7 times
- external/gpl2/groff/dist/src/roff/troff/node.cpp, line 1523
- external/gpl2/groff/dist/src/utils/addftinfo/addftinfo.cpp, line 156
- external/gpl2/groff/dist/src/utils/indxbib/indxbib.cpp, 9 times
- external/gpl2/groff/dist/src/utils/tfmtodit/tfmtodit.cpp, 20 times
- external/gpl2/rcs/dist/src/ident.c, 4 times
- external/gpl2/rcs/dist/src/rcsbase.h, 2 times
- external/gpl2/rcs/dist/src/rcsfnms.c, line 980
- external/gpl2/rcs/dist/src/rcsgen.c, 2 times
- external/gpl2/texinfo/dist/intl/localcharset.c, 3 times
- external/gpl2/texinfo/dist/intl/relocatable.c, 2 times
- external/gpl2/texinfo/dist/makeinfo/html.c, 3 times
- external/gpl2/texinfo/dist/makeinfo/makeinfo.c, line 3425
- external/gpl2/texinfo/dist/makeinfo/xml.c, line 1594
- external/gpl2/xcvs/dist/diff/diff3.c, 3 times
- external/gpl2/xcvs/dist/lib/getdelim.c, line 80
- external/gpl2/xcvs/dist/lib/getndelim2.c, line 127
- external/gpl2/xcvs/dist/lib/unlocked-io.h, 2 times
- external/gpl2/xcvs/dist/src/logmsg.c, line 848
- external/gpl2/xcvs/dist/src/rcs.c, line 5754
- external/gpl2/xcvs/dist/src/subr.c, line 686
- external/gpl3/binutils/dist/binutils/arlex.c, line 709
- external/gpl3/binutils/dist/binutils/bin2c.c, line 53
- external/gpl3/binutils/dist/binutils/deflex.c, line 719
- external/gpl3/binutils/dist/binutils/elfcomm.c, line 701
- external/gpl3/binutils/dist/binutils/objcopy.c, 8 times
- external/gpl3/binutils/dist/binutils/resrc.c, 15 times
- external/gpl3/binutils/dist/binutils/strings.c, line 479
- external/gpl3/binutils/dist/binutils/sysdump.c, 5 times
- external/gpl3/binutils/dist/binutils/syslex.c, line 651
- external/gpl3/binutils/dist/binutils/windres.c, 5 times
- external/gpl3/binutils/dist/gas/bfin-lex.c, line 955
- external/gpl3/binutils/dist/gas/input-file.c, 2 times
- external/gpl3/binutils/dist/gas/itbl-lex.c, line 640
- external/gpl3/binutils/dist/intl/localcharset.c, 3 times
- external/gpl3/binutils/dist/intl/relocatable.c, 2 times
- external/gpl3/binutils/dist/ld/ldlex.c, line 1936
- external/gpl3/binutils/dist/ld/ldmain.c, 3 times
- external/gpl3/binutils/dist/zlib/examples/zran.c, line 281
- external/gpl3/gcc/dist/fixincludes/fixincl.c, line 1284
- external/gpl3/gcc/dist/fixincludes/system.h, line 69
- external/gpl3/gcc/dist/gcc/collect2.c, 3 times
- external/gpl3/gcc/dist/gcc/cp/repo.c, line 146
- external/gpl3/gcc/dist/gcc/gengtype-lex.c, line 1345
- external/gpl3/gcc/dist/gcc/gengtype-state.c, 13 times
- external/gpl3/gcc/dist/gcc/gengtype.c, 7 times
- external/gpl3/gcc/dist/gcc/genhooks.c, line 181
- external/gpl3/gcc/dist/gcc/read-md.c, line 404
- external/gpl3/gcc/dist/gcc/system.h, line 96
- external/gpl3/gcc/dist/gcc/tlink.c, line 312
- external/gpl3/gcc/dist/intl/localcharset.c, 3 times
- external/gpl3/gcc/dist/intl/relocatable.c, 2 times
- external/gpl3/gcc/dist/libcpp/files.c, 4 times
- external/gpl3/gcc/dist/libcpp/system.h, line 82
- external/gpl3/gcc/dist/libstdc++-v3/include/c_compatibility/stdio.h, line 66
- external/gpl3/gcc/dist/libstdc++-v3/include/ext/stdio_sync_filebuf.h, line 225
- external/gpl3/gdb/dist/gdb/gnulib/import/localcharset.c, 3 times
- external/gpl3/gdb/dist/gdb/gnulib/import/stdio.in.h, 5 times
- external/gpl3/gdb/dist/intl/localcharset.c, 3 times
- external/gpl3/gdb/dist/intl/relocatable.c, 2 times
- external/gpl3/gdb/dist/libiberty/testsuite/test-pexecute.c, 2 times
- external/gpl3/gdb/dist/readline/examples/rlcat.c, line 135
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/freopen2.c, line 32
- external/gpl3/gdb/dist/zlib/examples/zran.c, line 281
- external/historical/nawk/dist/b.c, line 685
- external/historical/nawk/dist/lib.c, 3 times
- external/historical/nawk/dist/main.c, line 255
- external/lgpl3/gmp/dist/demos/calc/calclex.c, line 539
- external/lgpl3/gmp/dist/mpf/inp_str.c, 2 times
- external/lgpl3/gmp/dist/mpq/inp_str.c, 2 times
- external/lgpl3/gmp/dist/mpz/inp_str.c, 7 times
- external/lgpl3/gmp/dist/tests/misc/t-scanf.c, 2 times
- external/lgpl3/gmp/dist/tests/mpf/t-inp_str.c, line 131
- external/lgpl3/gmp/dist/tests/mpq/t-inp_str.c, line 120
- external/lgpl3/gmp/dist/tests/mpz/t-inp_str.c, line 138
- external/lgpl3/gmp/dist/tune/speed.h, 3 times
- external/lgpl3/mpc/dist/src/inp_str.c, 10 times
- external/lgpl3/mpc/dist/tests/open_datafile.c, line 55
- external/lgpl3/mpc/dist/tests/read_data.c, 11 times
- external/lgpl3/mpc/dist/tests/read_description.c, line 93
- external/lgpl3/mpc/dist/tests/read_line.c, 4 times
- external/lgpl3/mpc/dist/tests/tio_str.c, 4 times
- external/lgpl3/mpc/dist/tests/tpl_gmp.c, line 39
- external/lgpl3/mpc/dist/tests/tpl_mpfr.c, 3 times
- external/lgpl3/mpc/dist/tests/tpl_native.c, 3 times
- external/lgpl3/mpc/dist/tests/tstrtoc.c, line 74
- external/lgpl3/mpfr/dist/src/inp_str.c, 2 times
- external/lgpl3/mpfr/dist/tests/tests.c, 3 times
- external/lgpl3/mpfr/dist/tests/tinp_str.c, 3 times
- external/lgpl3/mpfr/dist/tests/tmul.c, line 438
- external/mit/lua/dist/src/lauxlib.c, 4 times
- external/mit/lua/dist/src/liolib.c, 2 times
- external/mpl/bind/dist/lib/isc/lex.c, line 441
- games/adventure/setup.c, 2 times
- games/boggle/boggle/help.c, 2 times
- games/boggle/boggle/word.c, 2 times
- games/boggle/mkdict/mkdict.c, line 78
- games/boggle/mkindex/mkindex.c, 2 times
- games/fortune/strfile/strfile.c, 4 times
- games/gomoku/main.c, line 358
- games/sail/sync.c, line 374
- include/stdio.h, line 500
- lib/libc/db/recno/rec_get.c, 2 times
- lib/libc/gen/getgrent.c, 2 times
- lib/libc/gen/wordexp.c, 2 times
- lib/libc/net/rcmd.c, line 791
- lib/libc/stdio/getc.c, line 53
- lib/libc/time/zic.c, line 1044
- lib/libcompat/4.3/ruserpass.c, 9 times
- lib/libedit/filecomplete.c, line 748
- lib/libresolv/dst_api.c, 9 times
- libexec/fingerd/fingerd.c, line 215
- libexec/ftpd/cmds.c, 2 times
- libexec/ftpd/ftpd.c, 5 times
- sbin/fsck_ext2fs/utilities.c, 2 times
- sbin/fsck_ffs/utilities.c, 2 times
- sbin/fsck_lfs/utilities.c, 2 times
- sbin/restore/utilities.c, 2 times
- sys/arch/alpha/alpha/promcons.c, line 217
- sys/arch/emips/ebus/dz_ebus.c, line 582
- sys/arch/ews4800mips/stand/common/cons_zs.c, line 58
- sys/arch/ews4800mips/stand/common/console.c, 2 times
- sys/arch/hppa/dev/pdc.c, line 410
- sys/arch/sgimips/dev/scn.c, line 1831
- sys/arch/vax/boot/boot/consio2.S, 2 times
- sys/arch/vax/uba/qvaux.c, line 488
- sys/arch/vax/vax/gencons.c, line 211
- sys/dev/dec/dz.c, line 346
- sys/dev/hyperv/hvkbd.c, line 172
- sys/dev/ic/cy.c, line 1268
- sys/dev/qbus/dl.c, line 479
- sys/dev/qbus/qd.c, line 1792
- sys/dev/usb/ukbd.c, line 329
- sys/dev/wscons/wskbd.c, line 1400
- sys/external/bsd/acpica/dist/compiler/dtio.c, 2 times
- sys/external/bsd/acpica/dist/compiler/prscan.c, line 918
- sys/kern/tty.c, 2 times
- sys/kern/tty_pty.c, 2 times
- sys/kern/tty_subr.c, line 496
- sys/net/ppp_tty.c, line 358
- tools/compat/fgetln.c, line 54
- tools/m4/bootstrap/tokenizer.c, line 617
- usr.bin/at/at.c, line 560
- usr.bin/base64/base64.c, 4 times
- usr.bin/cmp/special.c, 4 times
- usr.bin/colcrt/colcrt.c, 2 times
- usr.bin/comm/comm.c, line 200
- usr.bin/ctags/C.c, line 153
- usr.bin/ctags/ctags.h, line 48
- usr.bin/cut/x_cut.c, line 48
- usr.bin/dc/inout.c, line 78
- usr.bin/deroff/deroff.c, 5 times
- usr.bin/finger/lprint.c, line 368
- usr.bin/finger/net.c, line 136
- usr.bin/fsplit/fsplit.c, 2 times
- usr.bin/ftp/ftp.c, 8 times
- usr.bin/ftp/ruserpass.c, 9 times
- usr.bin/gzip/unlz.c, 4 times
- usr.bin/head/head.c, line 169
- usr.bin/indent/args.c, line 219
- usr.bin/indent/io.c, line 309
- usr.bin/locate/locate/locate.c, 4 times
- usr.bin/m4/eval.c, line 750
- usr.bin/m4/gnum4.c, line 705
- usr.bin/m4/misc.c, line 237
- usr.bin/mail/collect.c, 3 times
- usr.bin/mail/edit.c, 3 times
- usr.bin/mail/mime_codecs.c, line 647
- usr.bin/mail/mime_decode.c, line 1104
- usr.bin/mail/names.c, 2 times
- usr.bin/mail/quit.c, 10 times
- usr.bin/mail/send.c, 3 times
- usr.bin/mail/support.c, line 234
- usr.bin/mail/tty.c, line 130
- usr.bin/mkstr/mkstr.c, 2 times
- usr.bin/pr/pr.c, 5 times
- usr.bin/qsubst/qsubst.c, 4 times
- usr.bin/rdist/server.c, 2 times
- usr.bin/sed/main.c, 2 times
- usr.bin/soelim/soelim.c, 6 times
- usr.bin/sort/files.c, 2 times
- usr.bin/tail/forward.c, 5 times
- usr.bin/tail/read.c, 2 times
- usr.bin/tail/reverse.c, line 212
- usr.bin/tftp/tftpsubs.c, line 167
- usr.bin/tip/cmds.c, line 319
- usr.bin/tsort/tsort.c, 3 times
- usr.bin/ul/ul.c, 2 times
- usr.bin/unvis/unvis.c, line 114
- usr.bin/usbhidaction/usbhidaction.c, line 230
- usr.bin/vis/vis.c, 2 times
- usr.bin/xstr/xstr.c, 2 times
- usr.sbin/inetd/inetd.c, line 1693
- usr.sbin/lpr/common_source/common.c, line 213
- usr.sbin/lpr/common_source/displayq.c, 2 times
- usr.sbin/lpr/filters/lpf.c, line 130
- usr.sbin/lpr/lpd/printjob.c, line 1177
- usr.sbin/mtree/getid.c, 2 times
- usr.sbin/ypbind/ypbind.c, line 1118