Lines Matching defs:O_NOCTTY
71 #ifndef O_NOCTTY
72 #define O_NOCTTY 0
87 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1)
104 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) {
146 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) {
169 if (junk_ptyfd == -1 && (fd = open(_PATH_TTY, O_RDWR|O_NOCTTY)) >= 0) {
185 if ((*amaster = open("/dev/ptc", O_RDWR | O_NOCTTY)) == -1)
189 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) {
212 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) {
216 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1)
221 if ((*aslave = open(ttbuf, O_RDWR | O_NOCTTY)) == -1) {