tcflow(3)

✨ tcflow β€” the manual page, but make it cute ✨

okay bestie, welcome to tcflow(3) from the Linux man-pages, manual name tcflow πŸ’…

🌸 NAME 🌸

tcflow β€” suspect transmission or reception of data

(yes it literally says "suspect", that's what the original page says, i'm not fixing it, i'm just the messenger 🫢)

πŸ’– LIBRARY πŸ’–

Standard C library (libc, -lc)

πŸŽ€ SYNOPSIS πŸŽ€

#include <termios.h>

int tcflow(int fd, int action);

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically tcflow() puts transmission or reception of data on pause for whatever object fd is pointing at, and exactly how it pauses depends on what you pass as action:

  • TCOOFF suspends output. πŸ›‘
  • TCOON restarts suspended output. ▢️
  • TCIOFF transmits a STOP character, which stops the terminal device from transmitting data to the system. βœ‹
  • TCION transmits a START character, which starts the terminal device transmitting data to the system. πŸš€

and the default when a terminal file gets opened is that neither its input nor its output is suspended β€” everything just flows, no cap 🌊


πŸ’œ RETURN VALUE πŸ’œ

  • 0 β€” on success. slay ✨
  • -1 β€” on failure, and it sets errno to tell you what went wrong 😭

🌈 ATTRIBUTES 🌈

for an explanation of the terms used in this section, go check out attributes(7).

  • Interface: tcflow()
  • Attribute: Thread safety
  • Value: MT-Safe

πŸ‘‘ STANDARDS πŸ‘‘

POSIX.1-2008.

⭐ HISTORY ⭐

POSIX.1-2001.


πŸ“ SEE ALSO πŸ“

tcsendbreak(3), tcdrain(3), tcflush(3), termios(7)


and that's the whole page, bestie!! this diva of a manpage is from Linux man-pages 6.20, dated 2026-07-02, and it will forever be filed under tcflow(3) πŸ’…πŸ§šπŸ’–

πŸ“¦ where this page comes from
  • arch rolling: man-pages 6.20-1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
  • nixpkgs unstable: man-pages 6.20
  • πŸ“œ the page's license: GPL-2.0-or-later
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms