Lines Matching refs:open
243 * have to search for a free master terminal. We just open /dev/ptmx,
248 *cntrl = open("/dev/ptmx", O_RDWR);
272 * we open one master terminal after another, until one that isn't
279 fprintf(stderr, "%s: Couldn't open %s (%s)\n", prog, PTY_DEV_DIR,
296 * Attempt to open the control file.
301 *cntrl = open(master_name, O_RDWR);
305 * Attempt to open the matching slave file.
317 * Did we fail to find a pseudo-terminal pair that we could open?
365 * Attempt to open the specified device.
367 fd = open(slave_name, O_RDWR);
369 fprintf(stderr, "%s: Unable to open pseudo-terminal slave device (%s).\n",