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:
TCOOFFsuspends output. πTCOONrestarts suspended output. βΆοΈTCIOFFtransmits aSTOPcharacter, which stops the terminal device from transmitting data to the system. βTCIONtransmits aSTARTcharacter, 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 setserrnoto 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
- Copyright 2006-2015, Michael Kerrisk <mtk.manpages@gmail.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms