[PATCH 1/1] Add in *info* documentation (Low-Level Terminal Interface > Terminal Modes > Control Modes) *CMSPAR* constant description; *CMSPAR* allows to use stick parity (mark/space) instead of odd/even.

Nesterov Maksim <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <[email protected]>
---
 manual/terminal.texi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/manual/terminal.texi b/manual/terminal.texi
index c23fc10b5c..1aea2acd19 100644
--- a/manual/terminal.texi
+++ b/manual/terminal.texi
@@ -796,6 +796,14 @@ This bit is only useful if @code{PARENB} is set.  If @code{PARODD} is set,
 odd parity is used, otherwise even parity is used.
 @end deftypevr
 
+@deftypevr Macro tcflag_t CMSPAR
+@standards{not in POSIX}
+This bit is only useful if @code{PARENB} is set. If @code{CMSPAR} is set,
+stick parity (mark/space) is used instead of odd/even. If @code{PARODD} is
+set, mark parity (parity bit is always 1) is used, otherwise space parity
+is used (parity bit is always 0).
+@end deftypevr
+
 The control mode flags also includes a field for the number of bits per
 character.  You can use the @code{CSIZE} macro as a mask to extract the
 value, like this: @code{settings.c_cflag & CSIZE}.
-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.