Loading...
--- Libc/Libc-1725.40.4/gen/tcsendbreak.3
+++ Libc/Libc-262/gen/tcsendbreak.3
@@ -36,47 +36,35 @@
.Dt TCSENDBREAK 3
.Os
.Sh NAME
+.Nm tcsendbreak ,
.Nm tcdrain ,
-.Nm tcflow ,
.Nm tcflush ,
-.Nm tcsendbreak
+.Nm tcflow
.Nd line control functions
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.In termios.h
.Ft int
-.Fo tcdrain
-.Fa "int fildes"
-.Fc
+.Fn tcdrain "int fd"
.Ft int
-.Fo tcflow
-.Fa "int fildes"
-.Fa "int action"
-.Fc
+.Fn tcflow "int fd" "int action"
.Ft int
-.Fo tcflush
-.Fa "int fildes"
-.Fa "int action"
-.Fc
+.Fn tcflush "int fd" "int action"
.Ft int
-.Fo tcsendbreak
-.Fa "int fildes"
-.Fa "int duration"
-.Fc
+.Fn tcsendbreak "int fd" "int len"
.Sh DESCRIPTION
The
.Fn tcdrain
function waits until all output written to the terminal referenced by
-.Fa fildes
+.Fa fd
has been transmitted to the terminal.
.Pp
The
.Fn tcflow
-function suspends transmission of data to,
-or the reception of data from,
+function suspends transmission of data to or the reception of data from
the terminal referenced by
-.Fa fildes ,
+.Fa fd
depending on the value of
.Fa action .
The value of
@@ -106,7 +94,7 @@
The
.Fn tcflush
function discards any data written to the terminal referenced by
-.Fa fildes
+.Fa fd
which has not been transmitted to the terminal, or any data received
from the terminal but not yet read, depending on the value of
.Fa action .
@@ -126,9 +114,9 @@
.Fn tcsendbreak
function transmits a continuous stream of zero-valued bits for four-tenths
of a second to the terminal referenced by
-.Fa fildes .
+.Fa fd .
The
-.Fa duration
+.Fa len
parameter is ignored in this implementation.
.Sh RETURN VALUES
Upon successful completion, all of these functions return a value of zero.
@@ -139,20 +127,20 @@
.Bl -tag -width Er
.It Bq Er EBADF
The
-.Fa fildes
+.Fa fd
argument is not a valid file descriptor.
-.It Bq Er EINTR
-A signal interrupted the
-.Fn tcdrain
-function.
.It Bq Er EINVAL
The
.Fa action
argument is not a proper value.
.It Bq Er ENOTTY
The file associated with
-.Fa fildes
+.Fa fd
is not a terminal.
+.It Bq Er EINTR
+A signal interrupted the
+.Fn tcdrain
+function.
.El
.Sh SEE ALSO
.Xr tcsetattr 3 ,