Defined in 10 files as a prototype:
- external/bsd/llvm/dist/clang/test/Analysis/Inputs/system-header-simulator.h, line 25 (as a prototype)
- external/bsd/llvm/dist/clang/test/Analysis/std-c-library-functions.c, line 99 (as a prototype)
- external/bsd/llvm/dist/clang/test/Analysis/taint-generic.c, line 5 (as a prototype)
- include/stdio.h, line 244 (as a prototype)
- sys/arch/alpha/include/prom.h, line 50 (as a prototype)
- sys/arch/evbarm/stand/bootimx23/common.h, line 56 (as a prototype)
- sys/arch/evbmips/stand/sbmips/common/common.h, line 37 (as a prototype)
- sys/arch/sbmips/stand/common/common.h, line 37 (as a prototype)
- sys/arch/vax/boot/boot/consio.c, line 83 (as a prototype)
- sys/lib/libsa/stand.h, line 304 (as a prototype)
Defined in 9 files as a macro:
Defined in 47 files as a function:
- lib/libc/stdio/getchar.c, line 55 (as a function)
- sys/arch/acorn32/stand/lib/riscoscons.c, line 34 (as a function)
- sys/arch/alpha/stand/common/prom.c, line 78 (as a function)
- sys/arch/amiga/stand/bootblock/boot/console.c, line 256 (as a function)
- sys/arch/arc/stand/boot/getchar.c, line 36 (as a function)
- sys/arch/bebox/stand/boot/prf.c, line 43 (as a function)
- sys/arch/cobalt/stand/boot/prf.c, line 43 (as a function)
- sys/arch/emips/stand/common/prom_iface.c, line 56 (as a function)
- sys/arch/evbarm/stand/board/epcom.c, line 71 (as a function)
- sys/arch/evbarm/stand/board/ns16550.c, line 101 (as a function)
- sys/arch/evbarm/stand/board/nullcom.c, line 15 (as a function)
- sys/arch/evbarm/stand/board/sscom.c, line 145 (as a function)
- sys/arch/evbarm/stand/bootimx23/common.c, line 90 (as a function)
- sys/arch/evbmips/stand/sbmips/common/cfe.c, line 43 (as a function)
- sys/arch/ews4800mips/stand/common/console.c, line 225 (as a function)
- sys/arch/hp300/stand/common/prf.c, line 38 (as a function)
- sys/arch/hpcmips/stand/lcboot/com.c, line 88 (as a function)
- sys/arch/hppa/stand/common/dev_hppa.c, line 217 (as a function)
- sys/arch/i386/stand/efiboot/eficons.c, line 310 (as a function)
- sys/arch/i386/stand/lib/pcio.c, line 262 (as a function)
- sys/arch/ia64/stand/common/console.c, line 95 (as a function)
- sys/arch/landisk/stand/boot/cons.c, line 81 (as a function)
- sys/arch/landisk/stand/bootxx/bios.S, line 33 (as a function)
- sys/arch/luna68k/stand/boot/prf.c, line 38 (as a function)
- sys/arch/macppc/stand/ofwboot/Locore.c, line 715 (as a function)
- sys/arch/mmeye/stand/boot/prf.c, line 43 (as a function)
- sys/arch/mvme68k/stand/libbug/inchr.c, line 15 (as a function)
- sys/arch/mvmeppc/stand/libsa/getchar.c, line 38 (as a function)
- sys/arch/news68k/stand/common/getchar.c, line 32 (as a function)
- sys/arch/newsmips/stand/boot/boot.c, line 232 (as a function)
- sys/arch/next68k/stand/boot/machdep.c, line 75 (as a function)
- sys/arch/ofppc/stand/ofwboot/Locore.c, line 552 (as a function)
- sys/arch/prep/stand/boot/prf.c, line 42 (as a function)
- sys/arch/rs6000/stand/boot/prf.c, line 42 (as a function)
- sys/arch/sandpoint/stand/altboot/brdsetup.c, line 1256 (as a function)
- sys/arch/sbmips/stand/common/cfe.c, line 43 (as a function)
- sys/arch/sgimips/stand/common/getchar.c, line 36 (as a function)
- sys/arch/sgimips/stand/common/iris_prf.c, line 43 (as a function)
- sys/arch/shark/stand/ofwboot/Locore.c, line 536 (as a function)
- sys/arch/sparc/stand/common/promdev.c, line 510 (as a function)
- sys/arch/sparc/stand/ofwboot/prf.c, line 43 (as a function)
- sys/arch/sun68k/stand/libsa/promcons.c, line 11 (as a function)
- sys/arch/vax/boot/boot/consio.c, line 97 (as a function)
- sys/arch/x68k/stand/libsa/consio.c, line 71 (as a function)
- sys/arch/x68k/stand/xxboot/consio1.c, line 38 (as a function)
- sys/arch/zaurus/stand/zboot/unixcons.c, line 111 (as a function)
- sys/stand/efiboot/console.c, line 35 (as a function)
Referenced in 232 files:
- bin/cp/utils.c, 2 times
- bin/ed/io.c, line 269
- bin/ln/ln.c, 2 times
- bin/mv/mv.c, 2 times
- bin/pax/ftree.c, line 351
- bin/rm/rm.c, 2 times
- common/dist/zlib/contrib/blast/blast.c, line 458
- external/bsd/bc/dist/execute.c, 3 times
- external/bsd/byacc/dist/test/btyacc/btyacc_calc1.tab.c, 2 times
- external/bsd/byacc/dist/test/btyacc/calc.tab.c, line 498
- external/bsd/byacc/dist/test/btyacc/calc1.tab.c, 2 times
- external/bsd/byacc/dist/test/btyacc/calc2.tab.c, line 511
- external/bsd/byacc/dist/test/btyacc/calc3.tab.c, line 464
- external/bsd/byacc/dist/test/btyacc/code_calc.code.c, line 371
- external/bsd/byacc/dist/test/btyacc/ok_syntax1.tab.c, line 487
- external/bsd/byacc/dist/test/btyacc/pure_calc.tab.c, line 460
- external/bsd/byacc/dist/test/btyacc/quote_calc-s.tab.c, line 516
- external/bsd/byacc/dist/test/btyacc/quote_calc.tab.c, line 522
- external/bsd/byacc/dist/test/btyacc/quote_calc2-s.tab.c, line 516
- external/bsd/byacc/dist/test/btyacc/quote_calc2.tab.c, line 522
- external/bsd/byacc/dist/test/btyacc/quote_calc3-s.tab.c, line 517
- external/bsd/byacc/dist/test/btyacc/quote_calc3.tab.c, line 517
- external/bsd/byacc/dist/test/btyacc/quote_calc4-s.tab.c, line 517
- external/bsd/byacc/dist/test/btyacc/quote_calc4.tab.c, line 517
- external/bsd/byacc/dist/test/btyacc/varsyntax_calc1.tab.c, 2 times
- external/bsd/byacc/dist/test/yacc/calc.tab.c, line 343
- external/bsd/byacc/dist/test/yacc/calc1.tab.c, 2 times
- external/bsd/byacc/dist/test/yacc/calc2.tab.c, line 356
- external/bsd/byacc/dist/test/yacc/calc3.tab.c, line 353
- external/bsd/byacc/dist/test/yacc/code_calc.code.c, line 252
- external/bsd/byacc/dist/test/yacc/ok_syntax1.tab.c, line 377
- external/bsd/byacc/dist/test/yacc/pure_calc.tab.c, line 349
- external/bsd/byacc/dist/test/yacc/quote_calc-s.tab.c, line 358
- external/bsd/byacc/dist/test/yacc/quote_calc.tab.c, line 364
- external/bsd/byacc/dist/test/yacc/quote_calc2-s.tab.c, line 358
- external/bsd/byacc/dist/test/yacc/quote_calc2.tab.c, line 364
- external/bsd/byacc/dist/test/yacc/quote_calc3-s.tab.c, line 359
- external/bsd/byacc/dist/test/yacc/quote_calc3.tab.c, line 359
- external/bsd/byacc/dist/test/yacc/quote_calc4-s.tab.c, line 359
- external/bsd/byacc/dist/test/yacc/quote_calc4.tab.c, line 359
- external/bsd/byacc/dist/test/yacc/varsyntax_calc1.tab.c, 2 times
- external/bsd/ekermit/dist/unixio.c, line 271
- external/bsd/jemalloc/dist/msvc/test_threads/test_threads.cpp, 2 times
- external/bsd/less/dist/mkhelp.c, line 34
- external/bsd/libc++/dist/libcxx/test/depr/depr.c.headers/stdio_h.pass.cpp, line 119
- external/bsd/libc++/dist/libcxx/test/input.output/file.streams/c.files/cstdio.pass.cpp, line 120
- external/bsd/libc++/dist/libcxx/test/std/depr/depr.c.headers/stdio_h.pass.cpp, line 122
- external/bsd/libc++/dist/libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp, line 134
- external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp, line 887
- external/bsd/llvm/dist/clang/test/Analysis/std-c-library-functions.c, line 101
- external/bsd/llvm/dist/clang/test/Analysis/taint-generic.c, line 78
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter2/toy.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter3/toy.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter4/toy.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter5/toy.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter6/toy.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/toy.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter8/toy.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter9/toy.cpp, line 109
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/toy-jit.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/toy.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/toy.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/initial/toy.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/toy-jit.cpp, 5 times
- external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/toy.cpp, 5 times
- external/bsd/ntp/dist/include/ntp_machine.h, 2 times
- external/bsd/openldap/dist/clients/tools/ldapsearch.c, 4 times
- external/bsd/openpam/dist/lib/libpam/openpam_ttyconv.c, line 291
- external/gpl2/diffutils/dist/lib/unlocked-io.h, line 58
- external/gpl2/diffutils/dist/src/sdiff.c, 2 times
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/unlocked-io.h, 2 times
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/unlocked-io.h, 2 times
- external/gpl2/gettext/dist/gettext-tools/libgettextpo/unlocked-io.h, 2 times
- external/gpl2/groff/dist/src/roff/troff/input.cpp, line 4011
- external/gpl2/groff/dist/src/utils/pfbtops/pfbtops.c, 11 times
- external/gpl2/lvm2/dist/lib/display/display.c, line 832
- external/gpl2/lvm2/dist/tools/dmsetup.c, line 894
- external/gpl2/xcvs/dist/lib/unlocked-io.h, 2 times
- external/gpl3/binutils/dist/binutils/cxxfilt.c, 2 times
- external/gpl3/binutils/dist/libiberty/cp-demangle.c, 2 times
- external/gpl3/binutils/dist/zlib/contrib/blast/blast.c, line 458
- external/gpl3/gcc/dist/contrib/paranoia.cc, line 2396
- external/gpl3/gcc/dist/fixincludes/system.h, line 73
- external/gpl3/gcc/dist/gcc/gcc.c, 4 times
- external/gpl3/gcc/dist/gcc/system.h, line 100
- external/gpl3/gcc/dist/libcpp/system.h, line 86
- external/gpl3/gcc/dist/libiberty/cp-demangle.c, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/include/c_compatibility/stdio.h, line 67
- external/gpl3/gdb/dist/gdb/gnulib/import/stdio.in.h, 6 times
- external/gpl3/gdb/dist/libiberty/cp-demangle.c, 2 times
- external/gpl3/gdb/dist/libiberty/testsuite/test-demangle.c, 3 times
- external/gpl3/gdb/dist/libiberty/testsuite/test-pexecute.c, 2 times
- external/gpl3/gdb/dist/sim/ft32/interp.c, line 173
- external/gpl3/gdb/dist/sim/lm32/dv-lm32uart.c, line 217
- external/gpl3/gdb/dist/sim/sh/interp.c, line 765
- external/gpl3/gdb/dist/zlib/contrib/blast/blast.c, line 458
- external/zlib/pigz/dist/pigz.c, line 3543
- games/adventure/hdr.h, line 65
- games/adventure/io.c, 3 times
- games/adventure/wizard.c, line 140
- games/arithmetic/arithmetic.c, line 177
- games/atc/graphics.c, line 82
- games/battlestar/fly.c, line 93
- games/battlestar/getcom.c, line 64
- games/caesar/caesar.c, 2 times
- games/ching/castching/castching.c, line 100
- games/fish/fish.c, 3 times
- games/gomoku/bdisp.c, line 287
- games/hack/hack.main.c, line 505
- games/hack/hack.tty.c, 6 times
- games/hunt/hunt/hunt.c, 4 times
- games/hunt/hunt/playit.c, 4 times
- games/morse/morse.c, 3 times
- games/phantasia/io.c, 2 times
- games/pig/pig.c, line 75
- games/ppt/ppt.c, line 122
- games/random/random.c, line 127
- games/robots/move.c, 2 times
- games/robots/query.c, line 59
- games/rogue/inventory.c, line 296
- games/rogue/message.c, line 215
- games/tetris/scores.c, line 893
- games/tetris/tetris.c, line 327
- games/trek/computer.c, line 296
- games/trek/getpar.c, 6 times
- games/trek/torped.c, line 107
- lib/libc/stdio/getchar.c, line 51
- lib/libcurses/EXAMPLES/ex1.c, line 139
- lib/libcurses/PSD.doc/ex1.c, line 64
- lib/libutil/passwd.c, 2 times
- sbin/disklabel/main.c, 2 times
- sbin/fdisk/fdisk.c, 2 times
- sbin/fsck_msdos/main.c, 2 times
- share/examples/rump/tipsy/tipsy.c, line 149
- share/man/tools/pages.c, 2 times
- sys/arch/amiga/stand/bootblock/boot/main.c, 4 times
- sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c, line 138
- sys/arch/arc/stand/boot/boot.c, line 231
- sys/arch/atari/stand/ahdilabel/ahdilabel.c, 10 times
- sys/arch/atari/stand/edahdi/edahdi.c, 2 times
- sys/arch/atari/stand/libsa/consio.S, 2 times
- sys/arch/bebox/stand/boot/tgets.c, 2 times
- sys/arch/cobalt/stand/boot/tgets.c, 2 times
- sys/arch/emips/stand/common/prom_iface.c, line 114
- sys/arch/evbarm/stand/bootimx23/args_prep.c, line 146
- sys/arch/ews4800mips/stand/common/prompt.c, 2 times
- sys/arch/ews4800mips/stand/common/ustarfs.c, line 178
- sys/arch/hp300/stand/common/if_le.c, line 560
- sys/arch/hp300/stand/common/machdep.c, line 197
- sys/arch/hp300/stand/common/tgets.c, line 93
- sys/arch/hpcmips/stand/lcboot/main.c, 22 times
- sys/arch/hppa/stand/boot/boot.c, line 251
- sys/arch/hppa/stand/boot/tgets.c, line 91
- sys/arch/hppa/stand/cdboot/cdboot.c, line 122
- sys/arch/hppa/stand/common/dev_hppa.c, line 245
- sys/arch/hppa/stand/common/exec_hppa.c, line 66
- sys/arch/i386/stand/efiboot/eficons.c, line 355
- sys/arch/i386/stand/lib/pcio.c, line 355
- sys/arch/ia64/stand/common/boot.c, line 201
- sys/arch/ia64/stand/common/gets.c, line 54
- sys/arch/ia64/stand/common/pager.c, line 104
- sys/arch/ia64/stand/common/panic.c, line 53
- sys/arch/landisk/stand/boot/cons.c, line 150
- sys/arch/luna68k/stand/boot/getline.c, line 90
- sys/arch/luna68k/stand/boot/scsi.c, line 177
- sys/arch/macppc/stand/ofwboot/boot.c, line 350
- sys/arch/mipsco/mipsco/machdep.c, line 520
- sys/arch/mipsco/stand/common/prom.S, 2 times
- sys/arch/mmeye/stand/boot/tgets.c, 2 times
- sys/arch/newsmips/stand/boot/devopen.c, 2 times
- sys/arch/next68k/stand/boot/boot.c, line 110
- sys/arch/next68k/stand/boot/machdep.c, line 92
- sys/arch/pmax/stand/common/getchar.S, 3 times
- sys/arch/prep/stand/boot/tgets.c, 2 times
- sys/arch/rs6000/stand/boot/tgets.c, 2 times
- sys/arch/sandpoint/stand/altboot/brdsetup.c, 3 times
- sys/arch/sandpoint/stand/altboot/exception.c, line 112
- sys/arch/sandpoint/stand/altboot/main.c, 2 times
- sys/arch/sgimips/stand/sgivol/sgivol.c, line 597
- sys/arch/sun68k/stand/libsa/gets.c, line 62
- sys/arch/usermode/usermode/thunk.c, line 485
- sys/arch/vax/boot/xxboot/start.S, line 231
- sys/arch/x68k/stand/boot/srt0.S, line 54
- sys/arch/x68k/stand/libsa/consio.c, 2 times
- sys/dev/microcode/aic7xxx/aicasm.c, line 583
- sys/external/bsd/acpica/dist/common/acgetline.c, 4 times
- sys/external/bsd/acpica/dist/compiler/aslutils.c, line 125
- sys/external/bsd/acpica/dist/os_specific/service_layers/osunixxf.c, line 560
- sys/external/bsd/acpica/dist/os_specific/service_layers/oswinxf.c, line 559
- sys/external/bsd/acpica/dist/tools/acpidump/apfiles.c, line 78
- sys/external/bsd/acpica/dist/tools/acpisrc/asmain.c, 2 times
- sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerUtilFuchsia.cpp, line 79
- sys/external/bsd/sljit/dist/doc/tutorial/brainfuck.c, line 126
- sys/lib/libsa/checkpasswd.c, line 49
- sys/lib/libsa/gets.c, line 56
- sys/lib/libsa/ustarfs.c, line 283
- sys/stand/efiboot/prompt.c, line 102
- usr.bin/at/at.c, 2 times
- usr.bin/bdes/bdes.c, 5 times
- usr.bin/chpass/pw_yp.c, 2 times
- usr.bin/col/col.c, 2 times
- usr.bin/colrm/colrm.c, line 98
- usr.bin/compress/compress.c, 2 times
- usr.bin/expand/expand.c, line 96
- usr.bin/fdformat/fdformat.c, line 79
- usr.bin/find/misc.c, 2 times
- usr.bin/fpr/fpr.c, 3 times
- usr.bin/ftp/cmds.c, 3 times
- usr.bin/ftp/util.c, line 1334
- usr.bin/hexdump/display.c, line 381
- usr.bin/hexdump/parse.c, line 80
- usr.bin/login/common.c, line 102
- usr.bin/mail/complete.c, line 133
- usr.bin/mkdep/mkdep.c, line 169
- usr.bin/mkstr/mkstr.c, 7 times
- usr.bin/qsubst/qsubst.c, line 238
- usr.bin/rs/rs.c, line 368
- usr.bin/spell/spellprog/spellprog.c, 2 times
- usr.bin/tip/tip.c, 2 times
- usr.bin/tr/tr.c, 5 times
- usr.bin/vgrind/RETEST/retest.c, 2 times
- usr.bin/what/what.c, 5 times
- usr.bin/xargs/xargs.c, 2 times
- usr.sbin/lpr/filters/lpf.c, line 166
- usr.sbin/quot/quot.c, 5 times
- usr.sbin/sysinst/run.c, line 676
- usr.sbin/sysinst/target.c, line 148