|
NAME | LIBRARY | SYNOPSIS | DESCRIPTION | STANDARDS | HISTORY | SEE ALSO | COLOPHON |
|
|
|
termios(7) Miscellaneous Information Manual termios(7)
termios - terminal input/output settings
Standard C library (libc, -lc)
#include <termios.h>
The termios functions describe a general terminal interface that
is provided to control asynchronous communications ports.
Retrieving and changing terminal settings
tcgetattr(3)
tcsetattr(3)
Canonical and noncanonical mode
See termios(3type).
Raw mode
cfmakeraw(3)
Line control
tcsendbreak(3)
tcdrain(3)
tcflush(3)
tcflow(3)
Line speed
cfgetospeed(3)
cfsetospeed(3)
cfgetispeed(3)
cfsetispeed(3)
cfsetspeed(3)
POSIX.1-2024.
POSIX.1-2001, BSD.
reset(1), setterm(1), stty(1), tput(1), tset(1), tty(1),
ioctl_console(2), ioctl_tty(2), cc_t(3type), speed_t(3type),
tcflag_t(3type), setserial(8)
This page is part of the man-pages (Linux kernel and C library
user-space interface documentation) project. Information about
the project can be found at
⟨https://www.kernel.org/doc/man-pages/⟩. If you have a bug report
for this manual page, see
⟨https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING⟩.
This page was obtained from the tarball man-pages-6.19.tar.gz
fetched from
⟨https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/⟩ on
2026-09-09. If you discover any rendering problems in this HTML
version of the page, or you believe there is a better or more up-
to-date source for the page, or you have corrections or
improvements to the information in this COLOPHON (which is not
part of the original manual page), send a mail to
man-pages@man7.org
Linux man-pages 6.19 2026-07-02 termios(7)
Pages that refer to this page: FIONREAD(2const), ioctl_console(2), ioctl_tty(2), setpgid(2), TCSETS(2const), TCXONC(2const), cc_t(3type), cfmakeraw(3), _exit(3), stdin(3), tcdrain(3), tcflow(3), tcflush(3), tcsendbreak(3), tcsetattr(3), termios(3type), tty(4), pty(7), termio(7)