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

Lines Matching defs:O_NOCTTY

68 #ifndef O_NOCTTY
69 #define O_NOCTTY 0
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) {