---
name: "termios"
section: "7"
platform: "linux"
package: "man-pages"
version: "6.19-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/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)](/tcgetattr/3.md) [**tcsetattr**(3)](/tcsetattr/3.md)

  ### Canonical and noncanonical mode

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

### Raw mode

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

  ### Line control

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

  ### Line speed

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

  ## STANDARDS

POSIX.1-2024.

## HISTORY

POSIX.1-2001, BSD.

## SEE ALSO

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