/third_party/rust/crates/rustix/tests/termios/ |
D | ttyname.rs | 2 use rustix::termios::{isatty, ttyname}; 9 assert!(ttyname(&file, Vec::new()) in test_ttyname_ok() 20 assert_eq!(ttyname(&file, Vec::new()).unwrap_err(), io::Errno::NOTTY); in test_ttyname_not_tty() 23 assert_eq!(ttyname(&file, Vec::new()).unwrap_err(), io::Errno::NOTTY); in test_ttyname_not_tty()
|
D | main.rs | 11 mod ttyname; module
|
/third_party/musl/libc-test/src/functionalext/supplement/manual/unistd/ |
D | ttyname.c | 32 char *result = ttyname(fd); in ttyname_0100() 47 char *result = ttyname(fd); in ttyname_0200()
|
D | test_src_functionalext_supplement_manual_unistd.gni | 18 "ttyname",
|
/third_party/rust/crates/rustix/src/termios/ |
D | tty.rs | 46 pub fn ttyname<Fd: AsFd, B: Into<Vec<u8>>>(dirfd: Fd, reuse: B) -> io::Result<CString> { in ttyname() function 60 match backend::termios::syscalls::ttyname(dirfd, &mut buffer) { in _ttyname()
|
/third_party/toybox/toys/other/ |
D | login.c | 96 ttyname(tty), hh ? "from " : "", hh ? TT.h : ""); in login_main() 128 ttyname(tty), hh ? "from" : "", hh ? TT.h : ""); in login_main()
|
/third_party/python/Lib/ |
D | pty.py | 48 slave_name = os.ttyname(slave_fd) 116 tmp_fd = os.open(os.ttyname(STDOUT_FILENO), os.O_RDWR)
|
/third_party/toybox/toys/posix/ |
D | tty.c | 27 char *tty = ttyname(0); in tty_main()
|
/third_party/musl/src/unistd/ |
D | ttyname.c | 6 char *ttyname(int fd) in ttyname() function
|
/third_party/musl/porting/liteos_a/user/src/unistd/ |
D | ttyname.c | 6 char *ttyname(int fd) in ttyname() function
|
/third_party/toybox/toys/pending/ |
D | getty.c | 277 xstrncpy(entry.ut_line, ttyname(STDIN_FILENO) + in utmp_entry() 287 xstrncpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen("/dev/"), UT_LINESIZE); in utmp_entry()
|
/third_party/node/tools/ |
D | pseudo-tty.py | 71 name = os.ttyname(child_fd)
|
/third_party/rust/crates/rustix/examples/ |
D | stdio.rs | 18 use rustix::termios::ttyname; 45 println!(" - ttyname: {}", ttyname(fd, Vec::new())?.to_string_lossy()); in show()
|
/third_party/rust/crates/rustix/src/backend/libc/termios/ |
D | syscalls.rs | 155 pub(crate) fn ttyname(dirfd: BorrowedFd<'_>, buf: &mut [u8]) -> io::Result<usize> { in ttyname() function
|
/third_party/rust/crates/rustix/src/backend/linux_raw/termios/ |
D | syscalls.rs | 217 pub(crate) fn ttyname(fd: BorrowedFd<'_>, buf: &mut [u8]) -> io::Result<usize> { in ttyname() function
|
/third_party/musl/porting/liteos_a/user/include/ |
D | unistd.h | 125 char *ttyname(int);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | unistd.h | 100 char *ttyname(int);
|
/third_party/musl/porting/linux/user/include/ |
D | unistd.h | 127 char *ttyname(int);
|
/third_party/musl/include/ |
D | unistd.h | 164 char *ttyname(int);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | unistd.h | 100 char *ttyname(int);
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | unistd.h | 100 char *ttyname(int);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | unistd.h | 105 char *ttyname(int);
|
/third_party/musl/porting/liteos_m/user/include/ |
D | unistd.h | 125 char *ttyname(int);
|
/third_party/rust/crates/nix/test/ |
D | test_unistd.rs | 1251 let name = ttyname(fds).expect("ttyname failed"); in test_ttyname() 1260 assert_eq!(ttyname(fd.as_raw_fd()), Err(Errno::ENOTTY)); in test_ttyname_not_pty() 1270 assert_eq!(ttyname(-1), Err(Errno::EBADF)); in test_ttyname_invalid_fd()
|
/third_party/musl/libc-test/src/api/ |
D | unistd.c | 325 {char*(*p)(int) = ttyname;} in f()
|