Defined in 7 files as a prototype:
Defined in 2 files as a member:
Defined in 4 files as a macro:
Defined in 2 files as a function:
Referenced in 147 files:
- bin/ed/main.c, 7 times
- bin/ls/ls.c, 2 times
- bin/mv/mv.c, line 204
- bin/rm/rm.c, line 162
- bin/sh/histedit.c, line 100
- bin/sh/jobs.c, line 190
- bin/sh/miscbltin.c, line 214
- bin/sh/options.c, 2 times
- bin/stty/util.c, 2 times
- bin/test/test.c, line 311
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_cc.c, 2 times
- contrib/apr-util/test/abts.c, line 379
- contrib/bc/src/vm.c, 3 times
- 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/dialog/ttysize.c, line 73
- contrib/dialog/util.c, 6 times
- 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/googletest/googletest/include/gtest/internal/gtest-port.h, 2 times
- contrib/less/ch.c, line 827
- contrib/less/edit.c, line 763
- contrib/less/main.c, line 118
- contrib/less/os.c, line 114
- contrib/libedit/tty.c, line 508
- contrib/libxo/libxo/libxo.c, 2 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp, line 167
- contrib/llvm-project/lldb/source/Host/common/File.cpp, line 173
- contrib/llvm-project/lldb/source/Host/common/Terminal.cpp, line 24
- contrib/llvm-project/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp, line 248
- contrib/llvm-project/lldb/tools/driver/Driver.cpp, 2 times
- contrib/lua/src/lua.c, line 53
- contrib/mandoc/main.c, line 354
- contrib/ncurses/ncurses/curses.priv.h, line 2628
- contrib/ncurses/ncurses/win32con/win_driver.c, line 1963
- 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 1077
- contrib/ntp/ntpdc/ntpdc.c, 2 times
- contrib/ntp/ntpq/ntpq.c, 2 times
- contrib/nvi/cl/cl_main.c, line 192
- contrib/nvi/cl/cl_screen.c, line 195
- 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 3547
- contrib/sendmail/src/main.c, line 2099
- contrib/sendmail/src/srvrsmtp.c, 2 times
- contrib/sqlite3/shell.c, 4 times
- contrib/sqlite3/tea/generic/tclsqlite3.c, 2 times
- contrib/subversion/subversion/libsvn_subr/cmdline.c, 3 times
- contrib/tcpdump/tcpdump.c, line 1594
- contrib/tcsh/sh.c, 12 times
- contrib/tcsh/sh.exec.c, 2 times
- contrib/tcsh/sh.exp.c, line 705
- contrib/tcsh/sh.lex.c, line 1465
- 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 436
- contrib/tcsh/tw.parse.c, line 2177
- contrib/telnet/telnet/sys_bsd.c, line 1043
- contrib/tnftp/src/main.c, 2 times
- contrib/xz/src/xz/message.c, line 122
- 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 519
- crypto/openssh/sftp.c, 3 times
- crypto/openssh/ssh.c, 4 times
- crypto/openssl/crypto/bio/bss_file.c, line 246
- 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
- libexec/ypxfr/ypxfr_main.c, line 181
- sbin/bectl/bectl.c, 2 times
- sbin/camcontrol/modeedit.c, line 949
- sbin/gvinum/gvinum.c, line 1121
- sbin/ipfw/main.c, line 230
- sbin/recoverdisk/recoverdisk.c, line 154
- sbin/routed/trace.c, 3 times
- sys/contrib/dev/acpica/os_specific/service_layers/osunixxf.c, line 249
- sys/contrib/openzfs/cmd/zfs/zfs_main.c, 2 times
- sys/contrib/openzfs/cmd/zpool/zpool_main.c, 2 times
- sys/contrib/openzfs/cmd/zstream/zstream_dump.c, line 286
- sys/contrib/openzfs/cmd/zstream/zstream_redup.c, line 447
- sys/contrib/openzfs/lib/libzfs/libzfs_crypto.c, 2 times
- sys/contrib/openzfs/lib/libzfs/libzfs_util.c, line 2052
- sys/contrib/zstd/programs/platform.h, line 129
- sys/dev/aic7xxx/aicasm/aicasm.c, line 590
- tools/build/bootstrap-m4/inittokenizer.c, line 1378
- usr.bin/compress/compress.c, line 400
- usr.bin/dpv/dpv.c, line 100
- usr.bin/fetch/fetch.c, line 1139
- usr.bin/grep/grep.c, line 596
- usr.bin/gzip/gzip.c, 3 times
- usr.bin/lex/initscan.c, line 4742
- usr.bin/mail/main.c, line 119
- usr.bin/ministat/ministat.c, line 570
- 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/talk/get_names.c, line 73
- usr.bin/tftp/main.c, line 192
- usr.bin/tip/tip/tip.c, line 91
- 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/snapshot.c, line 749
- usr.sbin/bhyve/uart_emul.c, line 688
- 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 1110
- usr.sbin/pmcstat/pmcstat.c, line 1179
- 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 3141
- usr.sbin/watch/watch.c, line 293