Lines Matching refs:open
86 /* Open the slave side. */
87 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) {
102 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1)
118 /* Open the slave side. */
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)
168 /* Open the slave side. */
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)
202 /* Open the slave side. */
203 if ((*aslave = open(ttbuf, O_RDWR | O_NOCTTY)) == -1) {