Defined in 7 files as a prototype:
Defined in 3 files as a member:
Defined in 9 files as a macro:
Defined in 4 files as a function:
Referenced in 301 files:
- bin/csh/csh.c, 7 times
- bin/ed/main.c, 7 times
- bin/kill/kill.c, line 278
- bin/ksh/c_sh.c, 2 times
- bin/ksh/c_test.c, line 343
- bin/ksh/main.c, 2 times
- bin/ksh/tty.c, 2 times
- bin/ls/ls.c, line 141
- bin/mv/mv.c, line 121
- bin/pax/gen_subs.c, line 194
- bin/rm/rm.c, line 146
- bin/sh/histedit.c, line 118
- bin/sh/jobs.c, line 180
- bin/sh/miscbltin.c, line 127
- bin/sh/options.c, 2 times
- bin/sh/trap.c, line 178
- bin/test/test.c, line 497
- crypto/external/bsd/heimdal/dist/lib/asn1/lex.c, line 2290
- crypto/external/bsd/heimdal/dist/lib/com_err/lex.c, line 1424
- crypto/external/bsd/heimdal/dist/lib/sl/slc-lex.c, line 1361
- crypto/external/bsd/openssh/dist/auth-pam.c, line 1120
- crypto/external/bsd/openssh/dist/channels.c, 5 times
- crypto/external/bsd/openssh/dist/readpass.c, 2 times
- crypto/external/bsd/openssh/dist/scp.c, line 582
- crypto/external/bsd/openssh/dist/sftp.c, 3 times
- crypto/external/bsd/openssh/dist/ssh.c, 4 times
- crypto/external/bsd/openssl.old/dist/crypto/bio/bss_file.c, line 246
- crypto/external/bsd/openssl/dist/crypto/bio/bss_file.c, line 255
- distrib/utils/more/main.c, 2 times
- distrib/utils/ssh/ssh.c, line 145
- external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/colorprint.cc, line 184
- external/apache2/llvm/dist/llvm/utils/benchmark/src/colorprint.cc, line 184
- external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h, 2 times
- external/apache2/mDNSResponder/dist/Clients/dnssdutil.c, line 3282
- external/bsd/bc/dist/main.c, 2 times
- external/bsd/bzip2/dist/bzip2.c, 4 times
- external/bsd/dhcpcd/dist/src/privsep.c, line 176
- external/bsd/flex/dist/src/initscan.c, line 4438
- external/bsd/less/dist/ch.c, line 801
- external/bsd/less/dist/edit.c, line 707
- external/bsd/less/dist/main.c, line 119
- external/bsd/less/dist/os.c, line 126
- external/bsd/liblzf/dist/lzf.c, 2 times
- external/bsd/mdocml/dist/main.c, line 317
- external/bsd/nsd/dist/configlexer.c, line 3790
- external/bsd/nsd/dist/zlexer.c, line 1782
- external/bsd/ntp/dist/ntpdc/ntpdc.c, 2 times
- external/bsd/ntp/dist/ntpq/ntpq.c, 2 times
- external/bsd/nvi/dist/cl/cl_main.c, 2 times
- external/bsd/nvi/dist/cl/cl_screen.c, line 226
- external/bsd/openldap/dist/servers/slapd/back-mdb/tools.c, line 1557
- external/bsd/openldap/dist/servers/slapd/slapadd.c, line 372
- external/bsd/openldap/dist/servers/slapd/slapmodify.c, line 78
- external/bsd/openpam/dist/lib/libpam/openpam_ttyconv.c, line 315
- external/bsd/ppp/dist/pppd/tty.c, line 414
- external/bsd/tcpdump/dist/tcpdump.c, line 1569
- external/bsd/tmux/dist/client.c, line 323
- external/bsd/tmux/dist/server-client.c, 3 times
- external/bsd/tmux/dist/tty.c, line 103
- external/bsd/unbound/dist/util/configlexer.c, line 6894
- external/cddl/osnet/dist/cmd/zfs/zfs_main.c, 2 times
- external/cddl/osnet/dist/cmd/zstreamdump/zstreamdump.c, line 257
- external/cddl/osnet/dist/lib/libdtrace/common/dt_cc.c, 2 times
- external/gpl2/diffutils/dist/lib/setmode.c, line 58
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/binary-io.h, line 53
- external/gpl2/grep/dist/src/grep.c, 3 times
- external/gpl2/groff/dist/src/include/nonposix.h, 2 times
- external/gpl2/groff/dist/src/roff/troff/input.cpp, line 3984
- external/gpl2/groff/dist/src/utils/lookbib/lookbib.cpp, line 110
- external/gpl2/rcs/dist/src/rcsgen.c, line 295
- external/gpl2/texinfo/dist/info/info.c, line 285
- external/gpl2/texinfo/dist/info/pcterm.c, line 552
- external/gpl2/texinfo/dist/info/session.c, line 4943
- external/gpl2/texinfo/dist/lib/system.h, line 237
- external/gpl2/texinfo/dist/makeinfo/makeinfo.c, line 807
- external/gpl3/binutils.old/dist/binutils/ar.c, line 177
- external/gpl3/binutils.old/dist/binutils/arlex.c, line 1622
- external/gpl3/binutils.old/dist/binutils/deflex.c, line 1651
- external/gpl3/binutils.old/dist/binutils/syslex.c, line 1496
- external/gpl3/binutils.old/dist/gas/bfin-lex.c, line 2932
- external/gpl3/binutils.old/dist/gas/itbl-lex.c, line 1507
- external/gpl3/binutils.old/dist/include/binary-io.h, line 51
- external/gpl3/binutils.old/dist/ld/ldlex.c, line 3805
- external/gpl3/binutils/dist/binutils/ar.c, line 184
- external/gpl3/binutils/dist/binutils/arlex.c, line 1617
- external/gpl3/binutils/dist/binutils/bucomm.c, line 649
- external/gpl3/binutils/dist/binutils/deflex.c, line 1644
- external/gpl3/binutils/dist/binutils/elfedit.c, line 748
- external/gpl3/binutils/dist/binutils/nm.c, 2 times
- external/gpl3/binutils/dist/binutils/objdump.c, 2 times
- external/gpl3/binutils/dist/binutils/readelf.c, 2 times
- external/gpl3/binutils/dist/binutils/strings.c, 2 times
- external/gpl3/binutils/dist/binutils/syslex.c, line 1484
- external/gpl3/binutils/dist/gas/config/bfin-lex.c, line 2927
- external/gpl3/binutils/dist/gas/config/loongarch-lex.c, line 1442
- external/gpl3/binutils/dist/gas/itbl-lex.c, line 1501
- external/gpl3/binutils/dist/gprofng/src/gp-display-text.cc, 2 times
- external/gpl3/binutils/dist/include/binary-io.h, line 51
- external/gpl3/binutils/dist/ld/ldlex.c, line 3402
- external/gpl3/gcc.old/dist/fixincludes/fixincl.c, line 105
- external/gpl3/gcc.old/dist/gcc/diagnostic-color.c, line 220
- external/gpl3/gcc.old/dist/gcc/diagnostic.c, line 138
- external/gpl3/gcc.old/dist/gcc/fortran/error.c, line 91
- external/gpl3/gcc.old/dist/libcpp/files.c, line 46
- external/gpl3/gcc.old/dist/libgfortran/io/unix.c, 2 times
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cc, line 167
- external/gpl3/gcc/dist/fixincludes/fixincl.c, line 105
- external/gpl3/gcc/dist/gcc/diagnostic-color.c, line 220
- external/gpl3/gcc/dist/gcc/diagnostic.c, line 138
- external/gpl3/gcc/dist/gcc/fortran/error.c, line 91
- external/gpl3/gcc/dist/libcpp/files.c, line 46
- external/gpl3/gcc/dist/libgfortran/io/unix.c, 2 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cc, line 167
- external/gpl3/gdb.old/dist/binutils/ar.c, line 177
- external/gpl3/gdb.old/dist/gdb/contrib/expect-read1.c, line 36
- external/gpl3/gdb.old/dist/gdb/defs.h, line 595
- external/gpl3/gdb.old/dist/gdb/go32-nat.c, 2 times
- external/gpl3/gdb.old/dist/gdb/guile/scm-ports.c, line 489
- external/gpl3/gdb.old/dist/gdb/ser-go32.c, line 661
- external/gpl3/gdb.old/dist/gdb/ser-mingw.c, 2 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/fileio.c, 5 times
- external/gpl3/gdb.old/dist/gdb/testsuite/lib/read1.c, line 41
- external/gpl3/gdb.old/dist/gdb/testsuite/lib/unbuffer_output.c, line 33
- external/gpl3/gdb.old/dist/gdb/tui/tui-interp.c, line 246
- external/gpl3/gdb.old/dist/gdb/tui/tui.c, line 383
- external/gpl3/gdb.old/dist/gdb/ui-file.c, 3 times
- external/gpl3/gdb.old/dist/gdb/ui-file.h, line 78
- external/gpl3/gdb.old/dist/gdb/utils.c, line 1276
- external/gpl3/gdb.old/dist/gnulib/import/unistd.in.h, 8 times
- external/gpl3/gdb.old/dist/include/binary-io.h, line 51
- external/gpl3/gdb.old/dist/readline/readline/examples/rlcat.c, line 114
- external/gpl3/gdb.old/dist/readline/readline/input.c, 3 times
- external/gpl3/gdb.old/dist/sim/arm/armos.c, 2 times
- external/gpl3/gdb.old/dist/sim/bfin/interp.c, line 242
- external/gpl3/gdb.old/dist/sim/common/callback.c, line 220
- external/gpl3/gdb.old/dist/sim/common/sim-io.c, line 229
- external/gpl3/gdb.old/dist/sim/cris/traps.c, line 1898
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64eb/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/alpha/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/arm/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/armeb/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/hppa/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/i386/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68000/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68k/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64eb/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64el/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipseb/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsel/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64eb/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64el/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc64/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv32/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv64/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3eb/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3el/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc64/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/vax/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/x86_64/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/dist/binutils/ar.c, line 177
- external/gpl3/gdb/dist/gdb/contrib/expect-read1.c, line 36
- external/gpl3/gdb/dist/gdb/defs.h, line 595
- external/gpl3/gdb/dist/gdb/go32-nat.c, 2 times
- external/gpl3/gdb/dist/gdb/guile/scm-ports.c, line 489
- external/gpl3/gdb/dist/gdb/ser-go32.c, line 661
- external/gpl3/gdb/dist/gdb/ser-mingw.c, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.base/fileio.c, 5 times
- external/gpl3/gdb/dist/gdb/testsuite/lib/read1.c, line 41
- external/gpl3/gdb/dist/gdb/testsuite/lib/unbuffer_output.c, line 33
- external/gpl3/gdb/dist/gdb/tui/tui-interp.c, line 246
- external/gpl3/gdb/dist/gdb/tui/tui.c, line 383
- external/gpl3/gdb/dist/gdb/ui-file.c, 3 times
- external/gpl3/gdb/dist/gdb/ui-file.h, line 78
- external/gpl3/gdb/dist/gdb/utils.c, line 1276
- external/gpl3/gdb/dist/gnulib/import/unistd.in.h, 8 times
- external/gpl3/gdb/dist/include/binary-io.h, line 51
- external/gpl3/gdb/dist/readline/readline/examples/rlcat.c, line 114
- external/gpl3/gdb/dist/readline/readline/input.c, 3 times
- external/gpl3/gdb/dist/sim/arm/armos.c, 2 times
- external/gpl3/gdb/dist/sim/bfin/interp.c, line 242
- external/gpl3/gdb/dist/sim/common/callback.c, line 220
- external/gpl3/gdb/dist/sim/common/sim-io.c, line 229
- external/gpl3/gdb/dist/sim/cris/traps.c, line 1898
- external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/hppa/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/i386/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64eb/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64el/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsel/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64eb/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc64/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv32/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv64/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3eb/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/vax/gnulib/import/unistd.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/unistd.h, 8 times
- external/ibm-public/postfix/dist/src/cleanup/cleanup_milter.c, line 2541
- external/ibm-public/postfix/dist/src/global/data_redirect.c, line 221
- external/ibm-public/postfix/dist/src/global/mail_addr_crunch.c, line 198
- external/ibm-public/postfix/dist/src/global/mail_version.c, line 236
- external/ibm-public/postfix/dist/src/global/scache.c, line 376
- external/ibm-public/postfix/dist/src/global/server_acl.c, line 255
- external/ibm-public/postfix/dist/src/global/tok822_parse.c, line 703
- external/ibm-public/postfix/dist/src/master/dgram_server.c, line 472
- external/ibm-public/postfix/dist/src/master/event_server.c, line 728
- external/ibm-public/postfix/dist/src/master/multi_server.c, line 706
- external/ibm-public/postfix/dist/src/master/single_server.c, line 599
- external/ibm-public/postfix/dist/src/master/trigger_server.c, line 582
- external/ibm-public/postfix/dist/src/milter/milter.c, line 992
- external/ibm-public/postfix/dist/src/postfix/postfix.c, line 521
- external/ibm-public/postfix/dist/src/postlog/postlog.c, 2 times
- external/ibm-public/postfix/dist/src/postmulti/postmulti.c, line 1694
- external/ibm-public/postfix/dist/src/smtpd/smtpd_check.c, line 6103
- external/ibm-public/postfix/dist/src/smtpd/smtpd_token.c, 2 times
- external/ibm-public/postfix/dist/src/util/ctable.c, 2 times
- external/ibm-public/postfix/dist/src/util/dict_cache.c, line 1068
- external/ibm-public/postfix/dist/src/util/dict_test.c, line 101
- external/ibm-public/postfix/dist/src/util/ip_match.c, line 622
- external/lgpl3/gmp/dist/demos/calc/calclex.c, line 1503
- external/lgpl3/gmp/dist/demos/calc/calcread.c, line 68
- external/lgpl3/gmp/dist/tests/mpz/reuse.c, 3 times
- external/lgpl3/gmp/dist/tests/spinner.c, line 81
- external/mit/libuv/dist/src/unix/tty.c, line 360
- external/mit/lua/dist/src/lua.c, line 407
- external/mpl/bind/dist/bin/dig/dighost.c, line 678
- external/mpl/bind/dist/bin/dig/nslookup.c, line 999
- external/mpl/bind/dist/bin/dnssec/dnssec-keygen.c, line 1164
- external/mpl/bind/dist/bin/nsupdate/nsupdate.c, line 3455
- external/public-domain/sqlite/dist/shell.c, 4 times
- external/public-domain/xz/dist/src/xz/message.c, line 117
- external/public-domain/xz/dist/src/xz/util.c, 2 times
- external/zlib/pigz/dist/pigz.c, 3 times
- games/banner/banner.c, line 1082
- games/cribbage/instr.c, line 74
- games/fish/fish.c, line 454
- games/hunt/hunt/hunt.c, line 272
- games/phantasia/main.c, line 141
- games/quiz/quiz.c, line 165
- games/wump/wump.c, line 765
- lib/libc/gen/isatty.c, 2 times
- lib/libc/stdio/makebuf.c, line 146
- lib/libcurses/PSD.doc/twinkle2.c, line 72
- lib/libedit/tty.c, line 508
- lib/librmt/rmtlib.c, line 876
- lib/libterminfo/setupterm.c, line 93
- lib/libutil/ttymsg.c, line 119
- libexec/httpd/bozohttpd.c, 2 times
- libexec/httpd/ssl-bozo.c, 3 times
- libexec/identd/identd.c, line 122
- libexec/utmp_update/utmp_update.c, line 135
- sbin/routed/trace.c, 3 times
- sys/arch/atari/stand/tostools/libtos/error.c, line 50
- sys/arch/atari/stand/tostools/libtos/xexit.c, line 43
- sys/dev/microcode/aic7xxx/aicasm.c, line 596
- sys/external/bsd/acpica/dist/os_specific/service_layers/osunixxf.c, line 141
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_posix_libcdep.cc, line 171
- tests/lib/libc/gen/t_ttyname.c, 6 times
- tests/lib/libc/termios/t_tcsetpgrp.c, line 53
- tools/m4/bootstrap/tokenizer.c, line 1434
- usr.bin/cal/cal.c, line 898
- usr.bin/compress/compress.c, line 426
- usr.bin/find/find.c, 3 times
- usr.bin/ftp/main.c, 2 times
- usr.bin/grep/grep.c, line 595
- usr.bin/gzip/gzip.c, 3 times
- usr.bin/mail/main.c, line 210
- usr.bin/man/man.c, line 222
- usr.bin/msgs/msgs.c, 2 times
- usr.bin/nc/netcat.c, line 1326
- usr.bin/nohup/nohup.c, 2 times
- usr.bin/pr/pr.c, 2 times
- usr.bin/talk/get_names.c, line 67
- usr.bin/telnet/sys_bsd.c, line 633
- usr.bin/tip/tip.c, line 156
- usr.bin/ul/ul.c, line 105
- usr.bin/unzip/unzip.c, line 1066
- usr.bin/write/term_chk.c, 4 times
- usr.sbin/diskpart/diskpart.c, line 163
- usr.sbin/lpr/lpc/lpc.c, line 106
- usr.sbin/lpr/lpd/printjob.c, line 1458
- usr.sbin/makemandb/apropos.c, line 178
- usr.sbin/sliplogin/sliplogin.c, line 284
- usr.sbin/syslogd/syslogd.c, line 3971
- usr.sbin/timed/timedc/timedc.c, line 99
- usr.sbin/tprof/tprof_top.c, line 206
- usr.sbin/videomode/videomode.c, line 100