Home
last modified time | relevance | path

Searched refs:openpty (Results 1 – 25 of 61) sorted by relevance

123

/third_party/rust/crates/nix/test/sys/
Dtest_termios.rs6 use nix::pty::openpty;
24 let pty = openpty(None, None).expect("openpty failed"); in test_tcgetattr_pty()
54 let pty = openpty(None, None).expect("openpty failed"); in test_output_flags()
75 let pty = openpty(None, &termios).unwrap(); in test_output_flags()
100 let pty = openpty(None, None).unwrap(); in test_local_flags()
116 let pty = openpty(None, &termios).unwrap(); in test_local_flags()
/third_party/python/Lib/
Dpty.py26 def openpty(): function
31 return os.openpty()
44 master_fd, slave_fd = os.openpty()
101 master_fd, slave_fd = openpty()
/third_party/rust/crates/nix/src/
Dpty.rs247 pub fn openpty< in openpty() function
265 libc::openpty( in openpty()
275 libc::openpty( in openpty()
286 libc::openpty( in openpty()
296 libc::openpty( in openpty()
/third_party/musl/libc-test/src/functionalext/supplement/misc/
Dopenpty.c32 int ret = openpty(&amaster, &aslave, NULL, NULL, NULL); in openpty_0100()
51 int ret = openpty(&amaster, &aslave, name, &tio, &size); in openpty_0200()
Dtest_src_functionalext_supplement_misc.gni44 "openpty",
/third_party/rust/crates/nix/test/
Dtest_pty.rs204 let pty = openpty(None, None).unwrap(); in test_openpty()
241 let pty = openpty(None, None).unwrap(); in test_openpty_with_termios()
252 let pty = openpty(None, &termios).unwrap(); in test_openpty_with_termios()
/third_party/rust/crates/libc/src/unix/solarish/
Dcompat.rs55 pub unsafe fn openpty( in openpty() function
131 if openpty(amain, &mut fds, name, termp, winp) != 0 { in forkpty()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dpty.h11 int openpty(int *, int *, char *, const struct termios *, const struct winsize *);
/third_party/musl/porting/uniproton/kernel/include/
Dpty.h11 int openpty(int *, int *, char *, const struct termios *, const struct winsize *);
/third_party/musl/porting/liteos_m/kernel/include/
Dpty.h11 int openpty(int *, int *, char *, const struct termios *, const struct winsize *);
/third_party/musl/include/
Dpty.h11 int openpty(int *, int *, char *, const struct termios *, const struct winsize *);
/third_party/python/Lib/test/
Dtest_pty.py165 master_fd, slave_fd = pty.openpty(mode, new_stdin_winsz)
167 master_fd, slave_fd = pty.openpty()
299 master_fd, slave_fd = pty.openpty()
Dtest_openpty.py11 master, slave = os.openpty()
Dtest_ioctl.py72 mfd, sfd = pty.openpty()
Dtest_readline.py310 [master, slave] = pty.openpty()
/third_party/musl/porting/liteos_a/user/src/misc/
Dopenpty.c11 int openpty(int *pm, int *ps, char *name, const struct termios *tio, const struct winsize *ws) in openpty() function
/third_party/musl/src/misc/
Dopenpty.c11 int openpty(int *pm, int *ps, char *name, const struct termios *tio, const struct winsize *ws) in openpty() function
Dforkpty.c15 if (openpty(&m, &s, name, tio, ws) < 0) return -1; in forkpty()
/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl01.c68 if (openpty(&amaster, &aslave, NULL, NULL, NULL) < 0) in setup()
/third_party/python/Doc/library/
Dpty.rst35 .. function:: openpty()
37 Open a new pseudo-terminal pair, using :func:`os.openpty` if possible, or
/third_party/node/tools/
Dpseudo-tty.py53 parent_fd, child_fd = pty.openpty()
/third_party/ltp/testcases/cve/
Dcve-2014-0196.c51 if (openpty(amaster, aslave, NULL, NULL, NULL) == -1) in create_pty()
/third_party/musl/docs/
Dstatus.md189 - openpty 函数创建一个新的伪终端(pty)对,并返回其主从设备文件描述符。
/third_party/littlefs/scripts/
Dwatch.py155 mpty, spty = pty.openpty()
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/
Dmod.rs326 pub fn openpty( in openpty() function

123