Lines Matching refs:O_RDWR
83 if ((slave = _getpty(amaster, O_RDWR, 0622, 0)) == NULL) in openpty()
87 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) { in openpty()
102 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) in openpty()
119 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) { in openpty()
142 if ((*amaster = open("/dev/ptc", O_RDWR | O_NOCTTY)) == -1) in openpty()
146 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { in openpty()
166 if ((*amaster = open(ptbuf, O_RDWR|O_NOCTTY)) == -1) in openpty()
169 if ((*aslave = open(ttbuf, O_RDWR|O_NOCTTY)) == -1) { in openpty()
194 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty()
198 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) in openpty()
203 if ((*aslave = open(ttbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty()