|
AquilaOS documentation
How it works, and its code
|
A pseudo-terminal. More...
Data Fields | |
| size_t | id |
| struct tty * | tty |
| struct vnode * | master |
| struct vnode * | slave |
| struct ringbuf * | in |
| what the master writes, after line editing, for the slave to read | |
| struct ringbuf * | out |
| what the slave writes, after output processing, for the master to read | |
| struct waitq | pts_read_queue |
| where the slave's readers sleep, and the writers waiting for room in either ring (pty_slave_write(), pty_master_write()) | |
| struct waitq | pts_write_queue |
| where the slave's writers and the master's readers sleep | |
| size_t pty::id |
Definition at line 30 of file pty.c.
Referenced by ptm_new(), pts_new(), pty_free(), pty_id_get(), pty_ioctl(), and pty_new().
| struct ringbuf* pty::in |
what the master writes, after line editing, for the slave to read
Definition at line 37 of file pty.c.
Referenced by pts_can_read(), pts_read(), pty_free(), pty_input_flush(), pty_new(), and pty_slave_write().
| struct ringbuf* pty::out |
what the slave writes, after output processing, for the master to read
Definition at line 41 of file pty.c.
Referenced by ptm_can_read(), ptm_read(), pty_free(), pty_master_write(), and pty_new().
| struct waitq pty::pts_read_queue |
where the slave's readers sleep, and the writers waiting for room in either ring (pty_slave_write(), pty_master_write())
Definition at line 45 of file pty.c.
Referenced by ptm_new(), ptm_read(), pts_new(), pts_read(), pty_free(), pty_master_write(), and pty_slave_write().
| struct waitq pty::pts_write_queue |
where the slave's writers and the master's readers sleep
Definition at line 48 of file pty.c.
Referenced by ptm_new(), pts_new(), and pty_free().
| struct vnode* pty::slave |
Definition at line 34 of file pty.c.
Referenced by pty_free(), and pty_new().
| struct tty* pty::tty |
Definition at line 31 of file pty.c.
Referenced by ptm_write(), pts_can_read(), pts_eof(), pts_open(), pts_read(), pts_read_timeout(), pts_write(), pty_free(), pty_ioctl(), and pty_new().