Searched refs:ptynum (Results 1 – 2 of 2) sorted by relevance
447 getpty(ptynum) in getpty() argument448 int *ptynum; in getpty()522 for (*ptynum = lowpty; *ptynum <= highpty; (*ptynum)++) {523 (void) sprintf(myline, "/dev/pty/%03d", *ptynum);527 (void) sprintf(line, "/dev/ttyp%03d", *ptynum);
773 int ptynum; variable780 pty = getpty(&ptynum);806 sprintf(tty_dev, "/dev/pty/%03d", ptynum);809 sprintf(slave_dev, "/dev/ttyp%03d", ptynum);