diff options
author | наб <nabijaczleweli@nabijaczleweli.xyz> | 2022-08-30 00:33:52 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-08-30 00:38:16 +0200 |
commit | 1a9fa92ecb8379b2e63e79f09931f094effb1e56 (patch) | |
tree | f4b03b71c10cdfa2fd07ba3f5e8057687817a55b /man3type | |
parent | 123df84eb1241c5ea2f086ccfc91e2a124e495ab (diff) |
cc_t.3type, speed_t.3type, tcflag_t.3type: document all together
speed_t and tcflag_t were both unmentioned in general
Issue 7 has this to say:
The <termios.h> header shall define the following data types through typedef:
cc_t Used for terminal special characters.
speed_t Used for terminal baud rates.
tcflag_t Used for terminal modes.
The above types shall be all unsigned integer types.
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'man3type')
-rw-r--r-- | man3type/cc_t.3type | 14 | ||||
-rw-r--r-- | man3type/speed_t.3type | 1 | ||||
-rw-r--r-- | man3type/tcflag_t.3type | 1 |
3 files changed, 13 insertions, 3 deletions
diff --git a/man3type/cc_t.3type b/man3type/cc_t.3type index 029cf945c..6414dbf20 100644 --- a/man3type/cc_t.3type +++ b/man3type/cc_t.3type @@ -6,7 +6,7 @@ .\" .TH CC_T 3type 2021-11-02 "Linux man-pages (unreleased)" .SH NAME -cc_t \- terminal special characters +cc_t, speed_t, tcflag_t \- terminal special characters, baud rates, modes .SH LIBRARY Standard C library .RI ( libc ) @@ -15,10 +15,18 @@ Standard C library .B #include <termios.h> .PP .BR typedef " /* ... */ " cc_t; +.BR typedef " /* ... */ " speed_t; +.BR typedef " /* ... */ " tcflag_t; .fi .SH DESCRIPTION -Used for terminal special characters. -It is an unsigned integer type. +.I cc_t +is used for terminal special characters, +.I speed_t +for baud rates, and +.I tcflag_t +for modes. +.PP +All are unsigned integer types. .SH STANDARDS POSIX.1-2001 and later. .SH SEE ALSO diff --git a/man3type/speed_t.3type b/man3type/speed_t.3type new file mode 100644 index 000000000..26cfd0171 --- /dev/null +++ b/man3type/speed_t.3type @@ -0,0 +1 @@ +.so man3type/cc_t.3type diff --git a/man3type/tcflag_t.3type b/man3type/tcflag_t.3type new file mode 100644 index 000000000..26cfd0171 --- /dev/null +++ b/man3type/tcflag_t.3type @@ -0,0 +1 @@ +.so man3type/cc_t.3type |