---
name: "termios"
section: "7"
platform: "linux"
package: "man-pages"
version: "6.19-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://carta.tech/man/termios/7"
---

# termios(7)

terminal input/output settings

## NAME

termios - terminal input/output settings

## LIBRARY

Standard C library (*libc*, *-lc*)

## SYNOPSIS

```
#include <termios.h>
```

## DESCRIPTION

The termios functions describe a general terminal interface that is provided to control asynchronous communications ports.

### Retrieving and changing terminal settings

- [**tcgetattr**(3)](/man/tcgetattr/3.md) [**tcsetattr**(3)](/man/tcsetattr/3.md)

  ### Canonical and noncanonical mode

See [**termios**(3type)](/man/termios/3type.md).

### Raw mode

- [**cfmakeraw**(3)](/man/cfmakeraw/3.md)

  ### Line control

- [**tcsendbreak**(3)](/man/tcsendbreak/3.md) [**tcdrain**(3)](/man/tcdrain/3.md) [**tcflush**(3)](/man/tcflush/3.md) [**tcflow**(3)](/man/tcflow/3.md)

  ### Line speed

- [**cfgetospeed**(3)](/man/cfgetospeed/3.md) [**cfsetospeed**(3)](/man/cfsetospeed/3.md) [**cfgetispeed**(3)](/man/cfgetispeed/3.md) [**cfsetispeed**(3)](/man/cfsetispeed/3.md) [**cfsetspeed**(3)](/man/cfsetspeed/3.md)

  ## STANDARDS

POSIX.1-2024.

## HISTORY

POSIX.1-2001, BSD.

## SEE ALSO

[**reset**(1)](/man/reset/1.md), [**setterm**(1)](/man/setterm/1.md), [**stty**(1)](/man/stty/1.md), [**tput**(1)](/man/tput/1.md), [**tset**(1)](/man/tset/1.md), [**tty**(1)](/man/tty/1.md), [**ioctl\_console**(2)](/man/ioctl_console/2.md), [**ioctl\_tty**(2)](/man/ioctl_tty/2.md), [**cc\_t**(3type)](/man/cc_t/3type.md), [**speed\_t**(3type)](/man/speed_t/3type.md), [**tcflag\_t**(3type)](/man/tcflag_t/3type.md), [**setserial**(8)](/man/setserial/8.md)
