O2S C Library 1.8.2
Provide high-level data-structures and other fundamental tools for C projects
Loading...
Searching...
No Matches
serial_local_modes Struct Reference

Verbose alternative to termios.c_lflag. More...

#include <serial_options.h>

Data Fields

uint32_t enable_signals:1
 Generate a signal when INTR, QUIT, SUSP, or DSUSP are received.
uint32_t canonical:1
 Enable canonical mode.
uint32_t tostop:1
 Send SIGTOU to background jobs attempting to write to the terminal.

Detailed Description

Verbose alternative to termios.c_lflag.

Flags that require canonical mode or that are not in POSIX are not documented in doxygen.

Definition at line 104 of file serial_options.h.

Field Documentation

◆ enable_signals

uint32_t serial_local_modes::enable_signals

Generate a signal when INTR, QUIT, SUSP, or DSUSP are received.

This bit controls whether the INTR, QUIT, and SUSP characters are recognized.

The functions associated with these characters are performed if and only if this bit is set. Being in canonical or noncanonical input mode has no effect on the interpretation of these characters.

You should use caution when disabling recognition of these characters. Programs that cannot be interrupted interactively are very user-unfriendly. If you clear this bit, your program should provide some alternate interface that allows the user to interactively send the signals associated with these characters, or to escape from the program.

Definition at line 107 of file serial_options.h.