diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-25 21:56:40 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-25 21:56:40 -0400 |
commit | 739fc515b53dcb835dd67fb1fd8da8c9aa3b2861 (patch) | |
tree | edef32b0cde4a233aa98b89e5717cd97747c15ae | |
parent | d94dd2ace5a9965763a16e21c94b2c6815ae2110 (diff) |
kernel: termios: Add c_oflag bit defines
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | sys/include/sys/termios.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/include/sys/termios.h b/sys/include/sys/termios.h index eac9de2..a3ba794 100644 --- a/sys/include/sys/termios.h +++ b/sys/include/sys/termios.h @@ -45,6 +45,21 @@ #define IXOFF 0x00000200 /* Enable start/stop control */ #define PARMRK 0x00000400 /* Mark parity errors */ +/* + * c_oflag: Output flags + */ +#define OPOST 0x00000001 /* Post-process output */ +#define ONLCR 0x00000002 /* Map NL to CR-NL on output */ +#define OCRNL 0x00000004 /* Map CR to NL on output */ +#define ONOCR 0x00000008 /* Map CR to output at col 0 */ +#define ONLRET 0x00000010 /* NL performs CR function */ +#define OFILL 0x00000020 /* Use fill chars for delay */ +#define NLDLY 0x00000040 /* Select newline type */ +#define CRDLY 0x00000080 /* Select carriage-return delays */ +#define TABDLY 0x00000100 /* Select horizontal-tab delays */ +#define BSDLY 0x00000200 /* Select backspace delays */ +#define VTDLY 0x00000400 /* Select veritcal tab delays */ +#define FFDLY 0x00000800 /* Select form-feed delays */ #define NCCS 20 |