Searched refs:pty (Results 1 - 11 of 11) sorted by relevance

/haiku/src/tests/libs/bsd/
H A Dforkpty.c5 #include <pty.h>
/haiku/src/apps/login/
H A DLoginApp.h32 int getpty(char *pty, char *tty);
H A DLoginApp.cpp194 LoginApp::getpty(char *pty, char *tty) argument
205 sprintf(pty, "/dev/pt/%c%c", major[i], minor[j]);
207 fd = open(pty, O_RDWR|O_NOCTTY);
/haiku/src/apps/codycam/
H A DSpawningUploadClient.cpp123 SpawningUploadClient::getpty(char* pty, char* tty) argument
134 sprintf(pty, "/dev/pt/%c%c", major[i], minor[j]);
136 fd = open(pty, O_RDWR|O_NOCTTY);
H A DSpawningUploadClient.h49 int getpty(char* pty, char* tty);
/haiku/src/bin/network/telnetd/
H A Dsys_term.c121 struct termios termbuf, termbuf2; /* pty control structure */
146 (void) ioctl(pty, TIOCGETP, (char *)&termbuf.sg);
147 (void) ioctl(pty, TIOCGETC, (char *)&termbuf.tc);
148 (void) ioctl(pty, TIOCGLTC, (char *)&termbuf.ltc);
150 (void) ioctl(pty, TIOCGSTATE, (char *)&termbuf.state);
153 (void) tcgetattr(pty, &termbuf);
178 (void) ioctl(pty, TIOCSETN, (char *)&termbuf.sg);
181 (void) ioctl(pty, TIOCSETC, (char *)&termbuf.tc);
184 (void) ioctl(pty, TIOCSLTC, (char *)&termbuf.ltc);
186 (void) ioctl(pty, TIOCLSE
[all...]
H A Dtelnetd.c653 * Get a pty, scan input lines.
667 * Find an available pty to use.
670 pty = getpty(&ptynum);
671 if (pty < 0)
680 if ((pty = open(lp, 2)) >= 0) {
723 telnet(net, pty, remote_hostname); /* begin server process */
729 * Main loop. Select from pty and network, and
898 * We put the banner in the pty input buffer. This way, it
900 * other pty --> client data.
1079 * Something to read from the pty
[all...]
H A Dext.h79 EXTERN int pty, net; variable
H A Dtermstat.c63 * based on the state of the pty driver. If the pty is set for
66 * in the pty to determine what editing the client should do.
91 * in the pty.
93 * In real linemode, this corresponds to whether the pty
148 * If alwayslinemode is on, and pty is changing to turn it off, then
207 * If the pty has echo turned off, then tell the client that
277 * Negotiate linemode on if pty state has changed to turn it on.
335 * Some things should be deferred until after the pty state has
538 (void) ioctl(pty, TIOCSWINS
[all...]
H A Dutility.c62 * also flush the pty input buffer (by dropping its data) if it becomes
109 fatalperror(pty, "select");
127 n = write(pty, pbackp, n);
/haiku/src/libs/bsd/
H A Dpty.cpp7 #include <pty.h>

Completed in 98 milliseconds