slave 46 maint/gnulib/lib/forkpty.c int master, slave, pid; slave 48 maint/gnulib/lib/forkpty.c if (openpty (&master, &slave, name, termp, winp) == -1) slave 55 maint/gnulib/lib/forkpty.c close (slave); slave 61 maint/gnulib/lib/forkpty.c if (login_tty (slave)) slave 68 maint/gnulib/lib/forkpty.c close (slave); slave 68 maint/gnulib/lib/openpty.c int slave; slave 101 maint/gnulib/lib/openpty.c slave = open (slave_name, O_RDWR | O_NOCTTY); slave 102 maint/gnulib/lib/openpty.c if (slave == -1) slave 106 maint/gnulib/lib/openpty.c if (ioctl (slave, I_PUSH, "ptem") < 0 slave 107 maint/gnulib/lib/openpty.c || ioctl (slave, I_PUSH, "ldterm") < 0 slave 109 maint/gnulib/lib/openpty.c || ioctl (slave, I_PUSH, "ttcompat") < 0 slave 113 maint/gnulib/lib/openpty.c close (slave); slave 120 maint/gnulib/lib/openpty.c tcsetattr (slave, TCSAFLUSH, termp); slave 122 maint/gnulib/lib/openpty.c ioctl (slave, TIOCSWINSZ, winp); slave 125 maint/gnulib/lib/openpty.c *aslave = slave; slave 97 maint/gnulib/lib/wait-process.c pid_t slave = slaves[n].child; slave 100 maint/gnulib/lib/wait-process.c kill (slave, TERMINATOR); slave 33 maint/gnulib/tests/test-login_tty.c int slave; slave 37 maint/gnulib/tests/test-login_tty.c int res = openpty (&master, &slave, NULL, NULL, NULL); slave 47 maint/gnulib/tests/test-login_tty.c int res = login_tty (slave); slave 39 maint/gnulib/tests/test-openpty.c int slave; slave 43 maint/gnulib/tests/test-openpty.c int res = openpty (&master, &slave, NULL, NULL, NULL); slave 56 maint/gnulib/tests/test-openpty.c int tcfd = slave; /* You can try tcfd = master; here. */ slave 88 maint/gnulib/tests/test-openpty.c int res = read (slave, buf, sizeof (buf)); slave 41 maint/gnulib/tests/test-posix_openpt.c int slave; slave 57 maint/gnulib/tests/test-posix_openpt.c slave = open (name, O_RDWR); slave 58 maint/gnulib/tests/test-posix_openpt.c ASSERT (0 <= slave); slave 61 maint/gnulib/tests/test-posix_openpt.c ASSERT (ioctl (slave, I_PUSH, "ptem") == 0); slave 62 maint/gnulib/tests/test-posix_openpt.c ASSERT (ioctl (slave, I_PUSH, "ldterm") == 0); slave 64 maint/gnulib/tests/test-posix_openpt.c ASSERT (ioctl (slave, I_PUSH, "ttcompat") == 0); slave 68 maint/gnulib/tests/test-posix_openpt.c ASSERT (isatty (slave)); slave 73 maint/gnulib/tests/test-posix_openpt.c ASSERT (close (slave) == 0); slave 66 maint/gnulib/tests/test-ptsname_r.c test_errors (int fd, const char *slave) slave 74 maint/gnulib/tests/test-ptsname_r.c len = strlen (slave);