[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.
Checks
| Context |
Check |
Description |
| redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
| linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Build passed
|
| redhat-pt-bot/TryBot-32bit |
success
|
Build for i686
|
| linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
fail
|
Test failed
|
| linaro-tcwg-bot/tcwg_glibc_build--master-arm |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_glibc_check--master-arm |
success
|
Test passed
|
Commit Message
---
manual/terminal.texi | 8 ++++++++
1 file changed, 8 insertions(+)
@@ -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}.