Expand description
Low-level tty discovery, permission checks and message delivery.
Structsยง
Enumsยง
Constantsยง
- TERM_
WIDTH ๐
Functionsยง
- all_
sessions - All distinct (user, tty) sessions, optionally restricted to members of
group, deduplicated by tty. - deliver_
message - Open
ttyand writemessageto it, giving up aftertimeout. - escape_
and_ wrap_ content - Escape non-printable characters as
^XRewrite LF TO CRLFWrap atwrap_widthcolumns if given. - format_
wall_ message - format_
write_ message - is_
group_ member - Whether
usernameis a member ofgroup, by primary or supplementary group. - pad_
or_ ๐truncate - sessions_
for_ user - Distinct ttys that
useris currently logged in on. - stat_
tty - tty_
device_ path - utmpx_
sessions ๐ - validate_
tty_ ๐name - verify_
tty_ owner - Verifies that
pathis a character device in/dev/owned byuid.