Lines Matching refs:pty
311 syslog(LOG_ERR, "Could not read master pty, " \
340 "pty, fd=%d, size=%d. %s",
364 char pty[PATH_MAX], *slash;
375 if (strlen(tty) >= sizeof(pty)) {
380 strlcpy(pty, tty, sizeof(pty));
381 slash = strrchr(pty, '/');
389 if (strcmp(pty, tty) == 0) {
394 if ((*amaster = open(pty, O_RDWR, 0)) < 0) {
395 syslog(LOG_ERR, "Could not open(%s). %s", pty, strerror(errno));