Lines Matching refs:open
85 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY); in pty_allocate()
104 ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY); in pty_allocate()
129 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY); in pty_allocate()
162 *ptyfd = open("/dev/ptc", O_RDWR | O_NOCTTY); in pty_allocate()
173 *ttyfd = open(name, O_RDWR | O_NOCTTY); in pty_allocate()
199 *ptyfd = open(buf, O_RDWR | O_NOCTTY); in pty_allocate()
204 *ptyfd = open(buf, O_RDWR | O_NOCTTY); in pty_allocate()
211 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY); in pty_allocate()
278 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty()
293 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty()
317 fd = open(tty_name, O_RDWR); in pty_make_controlling_tty()
330 fd = open(_PATH_TTY, O_WRONLY); in pty_make_controlling_tty()