OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ttyname
(Results
1 - 25
of
53
) sorted by relevancy
1
2
3
/src/external/gpl3/gdb/dist/gdb/
terminal.h
24
extern void new_tty_prefork (std::string
ttyname
);
inflow.c
764
TTYNAME
is empty if we are to share the terminal with gdb;
772
new_tty_prefork (std::string
ttyname
)
776
inferior_thisrun_terminal = std::move (
ttyname
);
853
adding it to the inferior table, to store the
TTYNAME
being used by
/src/external/gpl3/gdb.old/dist/gdb/
terminal.h
24
extern void new_tty_prefork (std::string
ttyname
);
inflow.c
764
TTYNAME
is empty if we are to share the terminal with gdb;
772
new_tty_prefork (std::string
ttyname
)
776
inferior_thisrun_terminal = std::move (
ttyname
);
853
adding it to the inferior table, to store the
TTYNAME
being used by
/src/usr.bin/su/
suutil.c
59
if ((p =
ttyname
(STDERR_FILENO)) != NULL)
/src/usr.bin/mesg/
mesg.c
79
if ((tty =
ttyname
(STDIN_FILENO)) == NULL &&
80
(tty =
ttyname
(STDOUT_FILENO)) == NULL &&
81
(tty =
ttyname
(STDERR_FILENO)) == NULL)
82
err(2, "
ttyname
");
/src/tests/lib/libc/gen/
t_ttyname.c
46
atf_tc_set_md_var(tc, "descr", "Test errors in
ttyname
(3)");
64
ATF_REQUIRE(
ttyname
(fd) == NULL);
79
ATF_REQUIRE(
ttyname
(fd) == NULL);
147
str =
ttyname
(STDIN_FILENO);
154
atf_tc_fail("
ttyname
(3) and ttyname_r(3) conflict");
162
atf_tc_set_md_var(tc, "descr", "Test
ttyname
(3) with stdin(3)");
169
ATF_REQUIRE(
ttyname
(STDIN_FILENO) != NULL);
174
ATF_REQUIRE(
ttyname
(STDIN_FILENO) == NULL);
/src/usr.bin/tty/
tty.c
70
t =
ttyname
(STDIN_FILENO);
/src/lib/libc/gen/
ttyname.c
1
/* $NetBSD:
ttyname
.c,v 1.26 2012/06/12 18:17:04 joerg Exp $ */
35
static char sccsid[] = "@(#)
ttyname
.c 8.2 (Berkeley) 1/27/94";
37
__RCSID("$NetBSD:
ttyname
.c,v 1.26 2012/06/12 18:17:04 joerg Exp $");
55
__weak_alias(
ttyname
,_ttyname)
91
ttyname
(int fd)
function
ttyslot.c
69
} else if ((name =
ttyname
(cnt)) != NULL) {
Makefile.inc
37
times.c toascii.c tolower_.c
ttyname
.c ttyslot.c toupper_.c ualarm.c \
90
tolower.3 toupper.3
ttyname
.3 \
202
MLINKS+=
ttyname
.3 isatty.3
ttyname
.3 ttyslot.3
ttyname
.3 ttyname_r.3
/src/games/hunt/hunt/
connect.c
60
(void) strcpy(Buf,
ttyname
(fileno(stderr)));
/src/usr.bin/biff/
biff.c
75
if ((name =
ttyname
(STDERR_FILENO)) == NULL)
/src/usr.bin/passwd/
pam_passwd.c
115
pam_err = pam_set_item(pamh, PAM_TTY,
ttyname
(STDERR_FILENO));
/src/usr.bin/tset/
term.c
74
/* Try
ttyname
(3); check for dialup or other mapping. */
75
if ((ttypath =
ttyname
(STDERR_FILENO)) != NULL) {
/src/usr.bin/write/
term_chk.c
126
if ((mytty =
ttyname
(myttyfd)) == NULL)
/src/usr.bin/rwall/
rwall.c
185
tty =
ttyname
(STDERR_FILENO);
/src/external/bsd/less/dist/
ttyin.c
53
* Try
ttyname
(), then try /dev/tty, then use file descriptor 2.
67
constant char *dev =
ttyname
(2);
/src/external/bsd/openpam/dist/bin/su/
su.c
109
tty =
ttyname
(STDERR_FILENO);
/src/usr.sbin/sliplogin/
sliplogin.c
252
extern char *
ttyname
();
257
fd = open(
ttyname
(0), O_RDWR, 0);
/src/sys/arch/hppa/stand/common/
dev_hppa.c
251
ttyname
(int fd)
/src/lib/libtelnet/
sra.c
456
rootterm(const char *
ttyname
)
461
ttyn =
ttyname
;
/src/games/dm/
dm.c
94
gametty =
ttyname
(0);
/src/include/
unistd.h
143
__aconst char *
ttyname
(int);
/src/usr.bin/lock/
lock.c
172
if (!(ttynam =
ttyname
(STDIN_FILENO)))
173
err(1, "
ttyname
failed");
Completed in 43 milliseconds
1
2
3
Indexes created Sat Feb 28 05:31:39 UTC 2026