HomeSort by: relevance | last modified time | path
    Searched refs:pty (Results 1 - 25 of 46) sorted by relevancy

1 2

  /src/sys/fs/ptyfs/
ptyfs_subr.c 90 #include <sys/pty.h>
104 * the pty, ptyfs_type, and mount point uniquely
110 ptyfs_allocvp(struct mount *mp, struct vnode **vpp, ptyfstype type, int pty)
115 key.ptk_pty = pty;
146 ptyfs_get_node(ptyfstype type, int pty)
151 ppp = &ptyfs_node_tbl[PTYFS_FILENO(type, pty) & ptyfs_node_mask];
155 if (pty == pp->ptyfs_pty && pp->ptyfs_type == type) {
163 pp->ptyfs_pty = pty;
165 pp->ptyfs_fileno = PTYFS_FILENO(type, pty);
192 * Mark this controlling pty as active
    [all...]
ptyfs.h 82 PTYFSpts, /* The slave side of a pty */
83 PTYFSptc, /* The controlling side of a pty */
92 int ptk_pty; /* the pty index */
143 #define PTYFS_FILENO(type, pty) \
145 ((((pty) + 1) * 2 + (((type) == PTYFSpts) ? 1 : 2))))
ptyfs_vfsops.c 58 #include <sys/pty.h>
156 int pty = minor(dev); local in function:ptyfs__makename
166 * if pty had been opened before PTYFS was mounted,
172 && ptyfs_next_active(mp, pty) != pty)
336 /* Point pty access to us */
365 /* Restore where pty access was pointing */
416 * Only for the slave side of a pty, caller assures
506 SYSCTL_DESCR("Pty file system"),
ptyfs_vnops.c 98 #include <sys/pty.h>
281 printf("tag VT_PTYFS, type %d, pty %d\n",
287 * support advisory locking on pty nodes
589 int pty, error; local in function:ptyfs_lookup
611 pty = atoi(pname, cnp->cn_namelen);
612 if (pty < 0 || ptyfs_next_active(dvp->v_mount, pty) != pty)
614 error = ptyfs_allocvp(dvp->v_mount, vpp, PTYFSpts, pty);
617 if (ptyfs_next_active(dvp->v_mount, pty) != pty)
    [all...]
  /src/libexec/telnetd/
global.c 88 int pty, net; variable in typeref:typename:int
sys_term.c 54 struct termios termbuf, termbuf2; /* pty control structure */
80 (void) tcgetattr(pty, &termbuf);
102 (void) tcsetattr(pty, TCSANOW, &termbuf);
175 * Allocate a pty. As a side effect, the external character
178 * Returns the file descriptor of the opened pty.
228 (void) ioctl(pty, TIOCEXT, (char *)&on);
422 * Open the slave side of the pty, and do any initialization
502 if (pty > 2) {
503 (void) close(pty);
504 pty = -1
    [all...]
ext.h 73 extern int pty, net;
telnetd.c 671 * Get a pty, scan input lines.
689 * Find an available pty to use.
691 pty = getpty(&ptynum);
692 if (pty < 0)
733 telnet(net, pty); /* begin server processing */
739 * Main loop. Select from pty and network, and
895 * We put the banner in the pty input buffer. This way, it
897 * other pty --> client data.
1010 * Something to read from the pty...
1028 * If ioctl from pty, pass it through ne
    [all...]
termstat.c 65 * based on the state of the pty driver. If the pty is set for
68 * in the pty to determine what editing the client should do.
93 * in the pty.
95 * In real linemode, this corresponds to whether the pty
170 * If alwayslinemode is on, and pty is changing to turn it off, then
201 * If the pty has echo turned off, then tell the client that
271 * Negotiate linemode on if pty state has changed to turn it on.
329 * Some things should be deferred until after the pty state has
531 (void) ioctl(pty, TIOCSWINSZ, (char *)&ws)
    [all...]
  /src/tests/kernel/
t_pty.c 4 * Allocates a pty(4) device, and sends the specified number of packets of the
60 int pty; local in function:run
68 "parent: started; opening PTY and spawning child\n");
69 pty = pty_open();
70 child = child_spawn(ptsname(pty));
86 "parent: attempting to write %zu bytes to PTY\n",
88 if ((size = write(pty, dbuf, buffer_size)) == -1) {
93 (void)printf("parent: wrote %zd bytes to PTY\n", size);
104 (void)printf("parent: closing PTY\n");
105 (void)close(pty);
    [all...]
  /src/tests/lib/libc/ttyio/
t_ptm.c 77 ATF_REQUIRE_MSG(strncmp(ptm.cn, "/dev/pty", 8) == 0
128 char *pty; local in function:ATF_TC_BODY
150 REQUIRE_ERRNO((pty = ptsname(fdm)), NULL);
152 REQUIRE_ERRNO((fds = open(pty, O_RDWR|O_NOCTTY)), -1);
  /src/usr.bin/rfcomm_sppd/
rfcomm_sppd.c 292 char pty[PATH_MAX], *slash; local in function:open_tty
298 * Construct master PTY name. The slave tty name must be less than
302 if (strlcpy(pty, tty, sizeof(pty)) >= sizeof(pty))
305 slash = strrchr(pty, '/');
310 if (strcmp(pty, tty) == 0)
314 if ((master = open(pty, O_RDWR)) == -1)
315 err(EXIT_FAILURE, "Cannot open `%s'", pty);
326 err(EXIT_FAILURE, "Cannot chown `%s'", pty);
    [all...]
  /src/sys/arch/atari/conf/
SMALL030 43 pseudo-device pty # pseudo-terminals
ATARITT 59 pseudo-device pty # pseudo-terminals
FALCON 64 pseudo-device pty # pseudo-terminals
  /src/sys/arch/playstation2/conf/
config.playstation2 79 pseudo-device pty # pseudo-terminals
  /src/sys/kern/
tty_bsdpty.c 36 /* bsd tty implementation for pty multiplexor driver /dev/ptm{,x} */
53 #include <sys/pty.h>
58 * ptc == /dev/pty[pqrs]?
  /src/sys/arch/evbarm/conf/
GEMINI 220 pseudo-device pty # pseudo-terminals
GEMINI_MASTER 237 pseudo-device pty # pseudo-terminals
GEMINI_SLAVE 238 pseudo-device pty # pseudo-terminals
GENERIC.common 174 pseudo-device pty # pseudo-terminals
  /src/sys/arch/mipsco/conf/
RC3230 120 pseudo-device pty # pseudo-terminals
  /src/sys/arch/newsmips/conf/
WAPIKO 98 pseudo-device pty # pseudo-terminals
  /src/lib/libc/stdlib/
Makefile.inc 13 nrand48.c putenv.c qabs.c qdiv.c qsort.c posix_openpt.c pty.c \
  /src/lib/libutil/
Makefile 21 passwd.c pw_scan.c pidfile.c pidlock.c pty.c \

Completed in 18 milliseconds

1 2