/external/toybox/toys/posix/ |
tty.c | 27 char *tty = ttyname(0);
|
/external/ppp/pppd/plugins/radius/ |
clientid.c | 27 * Purpose: Read in the ttyname to port id map file 97 * Purpose: Map ttyname to port id 107 char ttyname[PATH_MAX]; local 109 *ttyname = '\0'; 111 strcpy(ttyname, "/dev/"); 113 strncat(ttyname, name, sizeof(ttyname)); 116 if (!strcmp(ttyname, p->name)) return p->id; 118 warn("rc_map2id: can't find tty %s in map database", ttyname);
|
/external/openssh/ |
sshlogin.c | 143 record_utmp_only(pid_t pid, const char *ttyname, const char *user, 148 li = login_alloc_entry(pid, user, host, ttyname);
|
logintest.c | 108 li1 = login_alloc_entry((int)getpid(), username, NULL, ttyname(0));
|
sshpty.c | 84 name = ttyname(*ttyfd); 86 fatal("openpty returns device for which ttyname fails.");
|
/external/toybox/toys/other/ |
login.c | 96 ttyname(tty), hh ? "from " : "", hh ? TT.h : ""); 128 ttyname(tty), hh ? "from" : "", hh ? TT.h : "");
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
pty.py | 43 slave_name = os.ttyname(slave_fd)
122 tmp_fd = os.open(os.ttyname(STDOUT_FILENO), os.O_RDWR)
|
/external/python/cpython2/Lib/ |
pty.py | 43 slave_name = os.ttyname(slave_fd) 122 tmp_fd = os.open(os.ttyname(STDOUT_FILENO), os.O_RDWR)
|
/external/python/cpython3/Lib/ |
pty.py | 43 slave_name = os.ttyname(slave_fd) 111 tmp_fd = os.open(os.ttyname(STDOUT_FILENO), os.O_RDWR)
|
/external/openssh/openbsd-compat/ |
port-aix.c | 308 record_failed_login(const char *user, const char *hostname, const char *ttyname) 315 loginfailed((char *)user, (char *)hostname, (char *)ttyname, 318 loginfailed((char *)user, (char *)hostname, (char *)ttyname);
|
bsd-cray.c | 176 record_failed_login(const char *user, const char *hostname, const char *ttyname) 204 char *ttyn = NULL; /* ttyname or command name*/ 249 ttyn = ttyname(0); 310 if (ttyname(0) != NULL) { 491 if (ttyname(0) != NULL) { 492 debug("cray_setup: ttyname true case, %.100s", ttyname); 562 debug("cray_setup: ttyname false case, %.100s", 563 ttyname);
|
bsd-openpty.c | 144 if ((ttname = ttyname(*amaster)) == NULL)
|
/bionic/libc/bionic/ |
pty.cpp | 81 char* ttyname(int fd) { function
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
unistd.h | 157 __aconst char *ttyname(int);
|
/external/toybox/toys/pending/ |
getty.c | 277 xstrncpy(entry.ut_line, ttyname(STDIN_FILENO) + 287 xstrncpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen("/dev/"), UT_LINESIZE);
|
/bionic/libc/include/ |
unistd.h | 282 char* ttyname(int __fd);
|
/external/selinux/policycoreutils/sestatus/ |
sestatus.c | 187 char *cterm = ttyname(0);
|
/bionic/tests/headers/posix/ |
unistd_h.c | 371 FUNCTION(ttyname, char* (*f)(int));
|
/bionic/tests/ |
stdlib_test.cpp | 624 TEST(stdlib, ttyname) { 628 // ttyname returns "/dev/ptmx" for a pty. 629 ASSERT_STREQ("/dev/ptmx", ttyname(fd));
|
/device/linaro/bootloader/edk2/StdLibPrivateInternalFiles/Include/ |
namespace.h | 609 #define ttyname _ttyname
|
/external/ppp/pppd/ |
tty.c | 423 if (!isatty(0) || (p = ttyname(0)) == NULL) { [all...] |
main.c | 260 extern char *ttyname __P((int)); [all...] |
/external/selinux/policycoreutils/newrole/ |
newrole.c | 1098 ttyn = ttyname(STDIN_FILENO); [all...] |
/external/autotest/client/common_lib/ |
pexpect.py | 612 child_name = os.ttyname(tty_fd) [all...] |
/external/google-styleguide/cpplint/ |
cpplint.py | [all...] |