Skip to content

Latest commit

 

History

History
89 lines (59 loc) · 2.6 KB

terminal.asc

File metadata and controls

89 lines (59 loc) · 2.6 KB

terminal

grantpt

int grantpt(int fd)
Defines: fstat getpid write open ioctl kill termio uitodec strlen
grant access to the slave pseudo-terminal device Size: ~44B ../src/termios/pty.c l.49 manpage: grantpt

isatty

int isatty(int fd)
Defines: termio ioctl
test for a terminal device Size: ~325B ../src/termios/isatty.c l.5 manpage: isatty

nanosleep

int nanosleep( struct timespec rqtp, struct timespec *rmtp)
*high resolution sleep
Size: ~47B ../include/syscall_stubs.h l.146 manpage: nanosleep

posix_openpt

int posix_openpt(int flags)
Defines: open termio
open a pseudo-terminal device Size: ~140B ../src/termios/pty.c l.8 manpage: posix_openpt

ptsname

char ptsname(int fd)
*Defines:
uitodec open strlen write ioctl termio kill getpid
get name of the slave pseudo-terminal device Size: ~1767B ../src/termios/pty.c l.34 manpage: ptsname

ptsname_r

int ptsname_r(int fd, char buf, size_t len)
*Defines:
uitodec write strlen open ioctl getpid termio kill
get the name of the slave pseudoterminal Size: ~1748B ../src/termios/pty.c l.21

tcgetattr

int tcgetattr(int fd, struct termios io)
*Defines:
ioctl termio
get the parameters associated with the terminal Size: ~300B ../src/termios/tcgetattr.c l.12 manpage: tcgetattr

tcsetattr

int tcsetattr(int fd, int opt, const struct termios io)
*Defines:
ioctl termio
set the parameters associated with the terminal Size: ~316B ../src/termios/tcsetattr.c l.12 manpage: tcsetattr

unlockpt

int unlockpt(int fd)
Defines: ioctl termio
unlock a pseudo-terminal master/slave pair Size: ~325B ../src/termios/pty.c l.14 manpage: unlockpt

vhangup

int DEF_syscall(vhangup,0 )
virtually hangup the current terminal ../include/syscall_stubs.h l.166