Barrelfish
|
Data Fields | |
struct term_server * | ts |
iref_t | iref |
struct waitset | session_ws |
bool | connected |
struct thread_mutex | mmutex |
uint32_t | number |
char * | ptsname |
char * | mreadbuf_start |
struct thread * | session_thread |
int | opencount |
struct termios | termios |
struct winsize | winsize |
int | file_status_flags |
State of the pseudo-terminal.
bool _pty::connected |
Has at least one client connected?
int _pty::file_status_flags |
File status flags as set by fctnl's F_GETFL and F_SETFL.
iref_t _pty::iref |
Interface reference for session interface.
struct thread_mutex _pty::mmutex |
Mutex used to lock master binding in case of concurrent reads and writes.
char* _pty::mreadbuf_start |
Data received but not yet consumed by a ptm_read().
uint32_t _pty::number |
Unique number allocated to this pseudo-terminal master and slave pair.
int _pty::opencount |
Reference count for the number of file descriptors that refer to this pseudo terminal. If the reference count drops to 0, the state is freed.
char* _pty::ptsname |
Path of slave dev-file, e.g. /dev/pts/0.
struct thread* _pty::session_thread |
Thread that dispatches the session waitset.
struct waitset _pty::session_ws |
Waitsets used for master side.
struct termios _pty::termios |
Termios structure of slave.
struct term_server* _pty::ts |
Terminal server state of master side.
struct winsize _pty::winsize |
Winsize structure of slave.