Lines Matching defs:PtyName
75 static char PtyName[32], TtyName[32];
179 strncpy(PtyName, m, sizeof(PtyName));
226 strcpy(PtyName, "/dev/ptc");
227 if ((f = open(PtyName, O_RDWR | O_NOCTTY | O_NONBLOCK)) < 0)
257 strcpy(PtyName, "/dev/ptmx");
261 if ((f = open(PtyName, O_RDWR | O_NOCTTY)) == -1)
296 strcpy (PtyName, "/dev/ptc");
297 if ((f = open (PtyName, O_RDWR | O_NOCTTY)) < 0)
344 strcpy(PtyName, PtyProto);
346 for (p = PtyName; *p != 'X'; p++)
354 debug1("OpenPTY tries '%s'\n", PtyName);
355 if ((f = open(PtyName, O_RDWR | O_NOCTTY)) == -1)