Defined in 9 files as a prototype:
Defined in 2 files as a member:
Defined in 2 files as a macro:
Defined in 2 files as a function:
Referenced in 153 files:
- bin/ed/main.c, 7 times
- bin/ls/ls.c, 2 times
- bin/mv/mv.c, line 204
- bin/rm/rm.c, line 164
- bin/sh/histedit.c, line 100
- bin/sh/jobs.c, line 187
- bin/sh/miscbltin.c, line 146
- bin/sh/options.c, 2 times
- bin/stty/util.c, 2 times
- bin/test/test.c, line 311
- cddl/contrib/opensolaris/cmd/zfs/zfs_main.c, 2 times
- cddl/contrib/opensolaris/cmd/zstreamdump/zstreamdump.c, line 259
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_cc.c, 2 times
- contrib/amd/fsinfo/null_lex.c, line 1295
- contrib/apr-util/test/abts.c, line 379
- contrib/binutils/binutils/ar.c, line 141
- contrib/binutils/binutils/bin2c.c, line 43
- contrib/binutils/binutils/strings.c, line 82
- contrib/bzip2/bzip2.c, 4 times
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc, line 164
- contrib/dialog/util.c, 6 times
- contrib/gcclibs/libcpp/files.c, line 48
- contrib/gcclibs/libmudflap/mf-hooks2.c, line 626
- contrib/gdb/gdb/config/rs6000/xm-rs6000.h, line 84
- contrib/gdb/gdb/defs.h, line 1300
- contrib/gdb/gdb/go32-nat.c, 2 times
- contrib/gdb/gdb/remote-rdp.c, line 912
- contrib/gdb/gdb/ser-go32.c, line 647
- contrib/gdb/gdb/tui/tui-file.c, line 129
- contrib/gdb/gdb/ui-file.c, 3 times
- contrib/gdb/gdb/ui-file.h, line 48
- contrib/less/ch.c, line 826
- contrib/less/edit.c, line 756
- contrib/less/main.c, line 116
- contrib/less/os.c, line 114
- contrib/libxo/libxo/libxo.c, 2 times
- contrib/llvm/lib/Support/raw_ostream.cpp, line 674
- contrib/llvm/tools/lldb/source/Host/common/File.cpp, line 811
- contrib/llvm/tools/lldb/source/Host/common/Terminal.cpp, line 24
- contrib/llvm/tools/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp, line 256
- contrib/llvm/tools/lldb/tools/driver/Driver.cpp, 2 times
- contrib/lua/src/lua.c, line 53
- contrib/mandoc/main.c, line 325
- contrib/ncurses/ncurses/base/lib_getch.c, line 262
- contrib/ncurses/ncurses/base/lib_initscr.c, 2 times
- contrib/ncurses/ncurses/base/lib_mouse.c, 2 times
- contrib/ncurses/ncurses/tinfo/lib_baudrate.c, line 211
- contrib/ncurses/ncurses/tinfo/lib_setup.c, 3 times
- contrib/ncurses/ncurses/tinfo/lib_ttyflags.c, line 110
- contrib/ncurses/ncurses/tinfo/tinfo_driver.c, 2 times
- contrib/ncurses/ncurses/tty/hashmap.c, line 495
- contrib/ncurses/ncurses/tty/lib_mvcur.c, line 330
- contrib/ncurses/ncurses/tty/lib_tstp.c, line 270
- contrib/netbsd-tests/lib/libc/gen/t_ttyname.c, 6 times
- contrib/netbsd-tests/lib/libc/termios/t_tcsetpgrp.c, line 53
- contrib/netcat/netcat.c, line 1031
- contrib/ntp/ntpdc/ntpdc.c, 2 times
- contrib/ntp/ntpq/ntpq.c, 2 times
- contrib/nvi/cl/cl_main.c, line 205
- contrib/nvi/cl/cl_screen.c, line 199
- contrib/openpam/lib/libpam/openpam_ttyconv.c, line 293
- contrib/opie/libopie/insecure.c, line 129
- contrib/opie/libopie/readpass.c, 2 times
- contrib/sendmail/libsm/makebuf.c, line 67
- contrib/sendmail/src/daemon.c, line 3419
- contrib/sendmail/src/main.c, line 2093
- contrib/sendmail/src/srvrsmtp.c, 2 times
- contrib/sqlite3/shell.c, 2 times
- contrib/subversion/subversion/libsvn_subr/cmdline.c, 3 times
- contrib/tcpdump/tcpdump.c, line 1617
- contrib/tcsh/sh.c, 12 times
- contrib/tcsh/sh.exec.c, 2 times
- contrib/tcsh/sh.exp.c, line 709
- contrib/tcsh/sh.lex.c, line 1457
- contrib/tcsh/sh.misc.c, 2 times
- contrib/tcsh/sh.sem.c, 3 times
- contrib/tcsh/tc.os.c, 3 times
- contrib/tcsh/tc.os.h, line 437
- contrib/tcsh/tw.parse.c, line 2181
- contrib/telnet/telnet/sys_bsd.c, line 1047
- contrib/tnftp/src/main.c, 2 times
- contrib/xz/src/xz/message.c, line 117
- contrib/xz/src/xz/util.c, 2 times
- crypto/heimdal/appl/ftp/ftp/main.c, line 128
- crypto/heimdal/appl/rsh/rshd.c, line 872
- crypto/heimdal/appl/telnet/telnet/sys_bsd.c, line 953
- crypto/heimdal/lib/asn1/lex.c, line 2280
- crypto/heimdal/lib/com_err/lex.c, line 1415
- crypto/heimdal/lib/sl/slc-lex.c, line 1352
- crypto/openssh/auth-pam.c, line 1081
- crypto/openssh/channels.c, 6 times
- crypto/openssh/clientloop.c, 3 times
- crypto/openssh/mux.c, 5 times
- crypto/openssh/readpass.c, line 127
- crypto/openssh/scp.c, line 513
- crypto/openssh/sftp.c, 3 times
- crypto/openssh/ssh.c, 4 times
- crypto/openssl/crypto/bio/bss_file.c, line 249
- gnu/usr.bin/grep/grep.c, 3 times
- lib/libc/gen/ttyname.c, line 71
- lib/libc/stdio/makebuf.c, line 83
- lib/libdpv/dialog_util.c, line 96
- lib/libedit/tty.c, line 509
- libexec/ypxfr/ypxfr_main.c, line 181
- release/picobsd/tinyware/msh/sh1.c, 2 times
- release/picobsd/tinyware/msh/sh5.c, line 135
- sbin/bectl/bectl.c, 2 times
- sbin/camcontrol/modeedit.c, line 773
- sbin/gvinum/gvinum.c, line 1121
- sbin/ipfw/main.c, line 230
- sbin/routed/trace.c, 3 times
- sys/contrib/dev/acpica/os_specific/service_layers/osunixxf.c, line 249
- sys/contrib/zstd/contrib/pzstd/Options.cpp, line 28
- sys/contrib/zstd/programs/platform.h, line 101
- sys/dev/aic7xxx/aicasm/aicasm.c, line 593
- usr.bin/compress/compress.c, line 398
- usr.bin/dpv/dpv.c, line 100
- usr.bin/fetch/fetch.c, line 1139
- usr.bin/grep/grep.c, line 605
- usr.bin/gzip/gzip.c, 3 times
- usr.bin/lex/initscan.c, line 4684
- usr.bin/mail/main.c, line 76
- usr.bin/ministat/ministat.c, line 552
- usr.bin/msgs/msgs.c, 2 times
- usr.bin/ncal/ncal.c, 2 times
- usr.bin/nohup/nohup.c, 2 times
- usr.bin/pr/pr.c, 2 times
- usr.bin/script/script.c, line 179
- usr.bin/talk/get_names.c, line 73
- usr.bin/tftp/main.c, line 190
- usr.bin/tip/tip/tip.c, line 90
- usr.bin/ul/ul.c, line 118
- usr.bin/unzip/unzip.c, line 1022
- usr.bin/vmstat/vmstat.c, 2 times
- usr.bin/write/write.c, 3 times
- usr.sbin/bhyve/uart_emul.c, line 645
- usr.sbin/cdcontrol/cdcontrol.c, line 271
- usr.sbin/cron/crontab/crontab.c, line 289
- usr.sbin/fdwrite/fdwrite.c, line 107
- usr.sbin/gstat/gstat.c, line 109
- usr.sbin/iostat/iostat.c, line 449
- usr.sbin/lpr/lpc/lpc.c, line 124
- usr.sbin/lpr/lpd/printjob.c, line 1914
- usr.sbin/mtest/mtest.c, line 221
- usr.sbin/ngctl/main.c, 2 times
- usr.sbin/pkg/pkg.c, line 1097
- usr.sbin/pmcstat/pmcstat.c, line 1174
- usr.sbin/ppp/tty.c, line 683
- usr.sbin/pw/pw_group.c, line 68
- usr.sbin/pw/pw_user.c, 2 times
- usr.sbin/syslogd/syslogd.c, line 2742
- usr.sbin/timed/timedc/timedc.c, line 99
- usr.sbin/watch/watch.c, line 293