Searched refs:ptmx (Results 1 – 1 of 1) sorted by relevance
74 int ptmx = open("/dev/ptmx", O_RDWR); in main() local75 if (ptmx == -1) err(EXIT_FAILURE, "open ptmx"); in main()76 unlockpt(ptmx); in main()77 int tty = open(ptsname(ptmx), O_RDWR); in main()130 if (ioctl(ptmx, TIOCSPGRP, &pgrp)) { in main()