Lines Matching defs:tty
66 static int sppd_ttys_open (char **tty, int *amaster, int *aslave);
85 char *tty = NULL, *ep = NULL, buf[SPPD_BUFFER_SIZE];
181 if (sppd_ttys_open(&tty, &amaster, &aslave) < 0)
292 syslog(LOG_INFO, "Starting on %s...", (tty != NULL)? tty : "stdin/stdout");
294 /* Print used tty on stdout for wrappers to pick up */
296 fprintf(stdout, "%s\n", tty);
355 syslog(LOG_INFO, "Completed on %s", (tty != NULL)? tty : "stdin/stdout");
360 if (tty != NULL) {
370 sppd_ttys_open(char **tty, int *amaster, int *aslave)
382 if ((*tty = strdup(pty)) == NULL) {
457 "\t-t use slave pseudo tty (required in background mode)\n" \