Home | History | Annotate | Download | only in openbsd-compat

Lines Matching refs:O_RDWR

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