HomeSort by: relevance | last modified time | path
    Searched defs:ttydev (Results 1 - 2 of 2) sorted by relevancy

  /src/usr.sbin/sti/
sti.c 149 char ttydev[MAXPATHLEN]; local in function:main
167 (void)snprintf(ttydev, sizeof(ttydev), "%s", tty);
170 (void)snprintf(ttydev, sizeof(ttydev), "/dev/%s", tty);
172 (void)snprintf(ttydev, sizeof(ttydev), "/dev/pts/%s", tty);
174 (void)snprintf(ttydev, sizeof(ttydev), "/dev/tty%s", tty);
176 if ((fd = open(ttydev, O_RDWR)) == -1
    [all...]
  /src/sys/kern/
tty_ptm.c 343 dev_t ttydev; local in function:ptmopen
351 if ((error = pty_alloc_master(l, &fd, &ttydev, mp, flag)) != 0)
359 if ((error = pty_grant_slave(l, ttydev, mp)) != 0) {

Completed in 12 milliseconds