HomeSort by relevance Sort by last modified time
    Searched refs:pty_master (Results 1 - 2 of 2) sorted by null

  /external/selinux/policycoreutils/run_init/
open_init_pty.c 226 int pty_master; local
271 child_pid = forkpty(&pty_master, NULL, &tty_attr, &window_size);
273 child_pid = forkpty(&pty_master, NULL, NULL, NULL);
302 setfd_nonblock(pty_master);
326 FD_SET(pty_master, &readfds);
331 FD_SET(pty_master, &writefds);
357 int select_rc = select(pty_master + 1, &readfds, &writefds, NULL, NULL);
381 if (FD_ISSET(pty_master, &writefds)) {
383 fprintf(stderr, "pty_master can be written\n");
385 ssize_t n = rb_write(&inbuf, pty_master);
    [all...]
  /external/ppp/pppd/
tty.c 124 static int pty_master; /* fd for master side of pty */ variable
532 pty_master = -1;
536 if (!get_pty(&pty_master, &pty_slave, ppp_devnam, uid)) {
649 if (device_script(ptycommand, pty_master, pty_master, 1) < 0)
676 close(pty_master);
677 pty_master = -1;
765 if (pty_master >= 0) {
766 close(pty_master);
767 pty_master = -1
    [all...]

Completed in 333 milliseconds