Debian Codegraph @

upstream/debian-trixie/man2/TCXONC.2const

raw
1 .\" Copyright 2002, Walter Harms <[email protected]>
2 .\" Copyright 2002, Andries Brouwer <[email protected]>
3 .\" Copyright 2024, Alejandro Colomar <[email protected]>
4 .\"
5 .\" SPDX-License-Identifier: GPL-1.0-or-later
6 .\"
7 .TH TCXONC 2const 2024-06-13 "Linux man-pages 6.9.1"
8 .SH NAME
9 TCXONC
10 \-
11 software flow control
12 .SH LIBRARY
13 Standard C library
14 .RI ( libc ", " \-lc )
15 .SH SYNOPSIS
16 .nf
17 .BR "#include <asm/termbits.h>" " /* Definition of " TCXONC " */"
18 .B #include <sys/ioctl.h>
19 .P
20 .BI "int ioctl(int " fd ", TCXONC, int " arg );
21 .fi
22 .SH DESCRIPTION
23 Equivalent to
24 .IR "tcflow(fd, arg)" .
25 .P
26 See
27 .BR tcflow (3)
28 for the argument values
29 .BR TCOOFF ,
30 .BR TCOON ,
31 .BR TCIOFF ,
32 .BR TCION .
33 .SH RETURN VALUE
34 On success,
35 0 is returned.
36 On error,
37 \-1 is returned, and
38 .I errno
39 is set to indicate the error.
40 .SH SEE ALSO
41 .BR ioctl (2),
42 .BR ioctl_tty (2),
43 .BR tcflow (3),
44 .BR termios (3)