Lines Matching defs:slave
51 #define DEF_SLAVE "./slave"
59 int master; /* pty to the slave */
70 * Handle the slave exiting unexpectedly, try to recover the exit message
82 fprintf(stderr, "ERROR: Slave has exited\n");
84 fprintf(stderr, "output from slave: ");
97 fprintf(stderr, "slave exited with message \"%s\"\n",
117 fprintf(stderr, " -s is the path to the slave executable\n");
130 const char *termpath, *term, *slave;
139 termpath = term = slave = NULL;
156 slave = optarg;
185 if (slave == NULL)
186 slave = DEF_SLAVE;
238 err(1, "Slave pipe creation failed");
254 err(1, "Fork of pty for slave failed\n");
257 /* slave side, just exec the slave process */
266 if (execl(slave, slave, arg1, arg2, (char *)0) < 0)
267 err(1, "Exec of slave %s failed", slave);