/freebsd-11-stable/sys/modules/pty/ |
H A D | Makefile | 1 # $FreeBSD: stable/11/sys/modules/pty/Makefile 319182 2017-05-30 04:11:12Z ngie $ 3 .PATH: ${SRCTOP}/sys/dev/pty 5 KMOD= pty 6 SRCS= pty.c
|
/freebsd-11-stable/lib/libulog/ |
H A D | utempter.c | 66 addToUtmp(const char *pty __unused, const char *host, int fd) 80 removeLineFromUtmp(const char *pty __unused, int fd)
|
/freebsd-11-stable/lib/libutil/ |
H A D | Makefile | 20 pidfile.c property.c pty.c pw_scan.c pw_util.c quotafile.c \ 37 property.3 pty.3 quotafile.3 realhostname.3 realhostname_sa.3 \ 64 MLINKS+=pty.3 forkpty.3 pty.3 openpty.3
|
/freebsd-11-stable/contrib/netbsd-tests/kernel/ |
H A D | t_pty.c | 4 * Allocates a pty(4) device, and sends the specified number of packets of the 58 int pty; local 67 pty = pty_open(); 68 child = child_spawn(ptsname(pty)); 86 if ((size = write(pty, dbuf, buffer_size)) == -1) { 103 (void)close(pty); 137 err(EXIT_FAILURE, "Couldn't pty(4) device"); 320 atf_tc_set_md_var(tc, "descr", "Checks that writing to pty " 334 atf_tc_set_md_var(tc, "descr", "Checks that writing to pty "
|
/freebsd-11-stable/contrib/telnet/telnetd/ |
H A D | sys_term.c | 121 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 D | telnetd.c | 653 * Get a pty, scan input lines. 662 * Find an available pty to use. 665 pty = getpty(&ptynum); 666 if (pty < 0) 675 if ((pty = open(lp, 2)) >= 0) { 718 telnet(net, pty, remote_hostname); /* begin server process */ 724 * Main loop. Select from pty and network, and 896 * We put the banner in the pty input buffer. This way, it 898 * other pty --> client data. 1077 * Something to read from the pty [all...] |
H A D | ext.h | 79 EXTERN int pty, net; variable
|
H A D | termstat.c | 63 * 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 D | utility.c | 62 * also flush the pty input buffer (by dropping its data) if it becomes 109 fatalperror(pty, "select"); 127 n = write(pty, pbackp, n);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/ttyio/ |
H A D | t_ptm.c | 77 ATF_REQUIRE_MSG(strncmp(ptm.cn, "/dev/pty", 8) == 0 128 char *pty; local 150 REQUIRE_ERRNO((pty = ptsname(fdm)), NULL); 152 REQUIRE_ERRNO((fds = open(pty, O_RDWR|O_NOCTTY)), -1);
|
/freebsd-11-stable/contrib/libreadline/examples/rlfe/ |
H A D | Makefile.in | 44 CFILES= rlfe.c pty.c 47 OFILES= rlfe.o pty.o 176 pty.o: pty.c config.h
|
H A D | pty.c | 48 # include <sys/pty.h> 74 /* used for opening a new pty-pair: */ 80 static char TtyProto[] = "/dev/pty/ttyXY"; 365 /* Hack to ensure that the slave side of the pty is
|
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnetd/ |
H A D | telnetd.h | 122 #include <pty.h> 161 #include <sys/pty.h>
|
/freebsd-11-stable/usr.bin/bluetooth/rfcomm_sppd/ |
H A D | rfcomm_sppd.c | 319 syslog(LOG_ERR, "Could not read master pty, " \ 348 "pty, fd=%d, size=%d. %s", 372 char pty[PATH_MAX]; local 377 if (openpty(amaster, aslave, pty, &tio, NULL) == -1) { 382 if ((*tty = strdup(pty)) == NULL) {
|
/freebsd-11-stable/sys/dev/pty/ |
H A D | pty.c | 80 counted_warning(&pty_warningcnt, "is using legacy pty devices"); 103 if (namelen != 5 || bcmp(name, "pty", 3) != 0) 106 /* Only catch /dev/pty[l-sL-S]X. */ 111 /* Only catch /dev/pty[l-sL-S][0-9a-v]. */ 164 DEV_MODULE(pty, pty_modevent, NULL);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Darwin/ |
H A D | DarwinProcessLauncher.cpp | 146 PseudoTerminal pty; local 149 *pid = static_cast<::pid_t>(pty.Fork(fork_error, sizeof(fork_error))); 193 // Release our master pty file descriptor so the pty class doesn't close 195 *pty_fd = pty.ReleaseMasterFileDescriptor();
|
/freebsd-11-stable/contrib/libreadline/examples/ |
H A D | rlptytest.c | 23 #include <pty.h> 182 /* Input received through the pty: Handle it 188 /* Input received through the pty. 247 /* disable flow control; let ^S and ^Q through to pty */
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | bsd-openpty.c | 58 # include <pty.h> 79 * pty's automagically when needed 137 /* AIX-style pty code. */ 162 snprintf(ptbuf, sizeof(ptbuf), "/dev/pty/%03d", i); 176 /* BSD-style pty code. */ 187 snprintf(ptbuf, sizeof(ptbuf), "/dev/pty%c%c",
|
/freebsd-11-stable/libexec/rlogind/ |
H A D | rlogind.c | 330 control(int pty, char *cp, int n) argument 342 (void)ioctl(pty, TIOCSWINSZ, &w); 359 * when we try and set slave pty's window shape 360 * (our controlling tty is the master pty).
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | rkpty.c | 48 #include <pty.h>
|
/freebsd-11-stable/crypto/openssh/ |
H A D | sshpty.c | 42 # include <pty.h> 57 * Allocates and opens a pty. Returns 0 if no pty could be allocated, or 58 * nonzero if a pty was successfully allocated. On success, open file 59 * descriptors for the pty and tty sides and the name of the tty side are 173 /* Changes the window size associated with the pty. */
|
/freebsd-11-stable/sys/teken/demo/ |
H A D | teken_demo.c | 43 #include <pty.h>
|
/freebsd-11-stable/sys/modules/ |
H A D | Makefile | 325 pty \
|
/freebsd-11-stable/share/man/man4/ |
H A D | Makefile | 442 pty.4 \
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | ProcessGDBRemote.cpp | 808 PseudoTerminal pty; 829 pty.OpenFirstAvailableMaster(O_RDWR | O_NOCTTY, nullptr, 0)) { 830 FileSpec slave_name{pty.GetSlaveName(nullptr, 0)}; 929 if (pty.GetMasterFileDescriptor() != PseudoTerminal::invalid_fd) 930 SetSTDIOFileDescriptor(pty.ReleaseMasterFileDescriptor());
|