Lines Matching full:slave
50 #define DEF_SLAVE "./slave"
57 int cmdpipe[2]; /* command pipe between director and slave */
58 int slvpipe[2]; /* reply pipe back from slave */
59 int master; /* pty to the slave */
69 * Handle the slave exiting unexpectedly, try to recover the exit message
78 fprintf(stderr, "ERROR: Slave has exited\n"); in slave_died()
80 fprintf(stderr, "output from slave: "); in slave_died()
90 fprintf(stderr, "slave exited with message \"%s\"\n", in slave_died()
108 fprintf(stderr, " -s is the path to the slave executable\n"); in usage()
122 const char *termpath, *term, *slave; in main() local
130 termpath = term = slave = NULL; in main()
148 slave = optarg; in main()
171 if (slave == NULL) in main()
172 slave = DEF_SLAVE; in main()
228 err(1, "Slave pipe creation failed"); in main()
243 err(1, "Fork of pty for slave failed\n"); in main()
246 /* slave side, just exec the slave process */ in main()
259 if (execl(slave, slave, arg1, arg2, arg3, arg4, NULL) < 0) in main()
260 err(1, "Exec of slave %s failed", slave); in main()