Defined in 2 files as a prototype:
Defined in 1 files as a member:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 35 files:
- bin/ps/ps.c, line 327
- external/bsd/nvi/dist/cl/cl_term.c, line 320
- external/bsd/openpam/dist/bin/pamtest/pamtest.c, line 399
- external/bsd/openpam/dist/bin/su/su.c, line 111
- external/bsd/ppp/dist/pppd/tty.c, line 431
- external/bsd/tmux/dist/client.c, line 302
- external/bsd/tmux/dist/cmd-find.c
- external/bsd/tmux/dist/format.c, line 2414
- external/bsd/tmux/dist/server-client.c
- external/bsd/tmux/dist/window-client.c, line 360
- external/gpl3/gdb/dist/gdb/inflow.c
- external/gpl3/gdb/dist/readline/examples/rlfe/pty.c, line 301
- games/dm/dm.c, line 94
- games/hunt/hunt/connect.c, line 60
- lib/libc/gen/ttyname.c, line 55
- lib/libc/gen/ttyslot.c, line 69
- lib/libtelnet/sra.c
- libexec/getty/main.c, line 233
- sys/arch/hppa/stand/common/dev_hppa.c, line 251
- tests/lib/libc/gen/t_ttyname.c
- usr.bin/biff/biff.c, line 75
- usr.bin/lock/lock.c, line 172
- usr.bin/login/login.c, line 266
- usr.bin/login/login_pam.c, line 206
- usr.bin/mesg/mesg.c
- usr.bin/passwd/pam_passwd.c, line 115
- usr.bin/rwall/rwall.c, line 185
- usr.bin/su/su_pam.c, line 246
- usr.bin/su/suutil.c, line 59
- usr.bin/tset/term.c, line 75
- usr.bin/tty/tty.c, line 70
- usr.bin/wall/wall.c, line 214
- usr.bin/who/who.c, line 235
- usr.bin/write/term_chk.c, line 126
- usr.sbin/sliplogin/sliplogin.c