Home | History | Annotate | Download | only in dropbear

Lines Matching refs:open

43  * nonzero if a pty was successfully allocated.  On success, open file
84 /* Open the slave side. */
85 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY);
88 "pty_allocate error: ttyftd open error");
104 ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY);
128 /* Open the slave side. */
129 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY);
162 *ptyfd = open("/dev/ptc", O_RDWR | O_NOCTTY);
165 "Could not open /dev/ptc: %.100s", strerror(errno));
173 *ttyfd = open(name, O_RDWR | O_NOCTTY);
176 "Could not open pty slave side %.100s: %.100s",
199 *ptyfd = open(buf, O_RDWR | O_NOCTTY);
204 *ptyfd = open(buf, O_RDWR | O_NOCTTY);
210 /* Open the slave side. */
211 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY);
237 dropbear_log(LOG_WARNING, "failed to open any /dev/pty?? devices");
278 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
293 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
317 fd = open(tty_name, O_RDWR);
330 fd = open(_PATH_TTY, O_WRONLY);
333 "open /dev/tty failed - could not set controlling tty: %.100s",