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

Terminal special characters. More...

#include <serial_options.h>

Data Fields

uint8_t array [NCCS]
 Standard array.
struct { 
   uint8_t   interrupt 
 Send a SIGINT signal.
   uint8_t   quit 
 Send a SIGQUIT signal.
   uint8_t   timeout 
 Timeout in deciseconds for noncanonical read.
   uint8_t   minimum 
 Minimum number of characters for noncanonical read.
}; 
 Verbose alternative.

Detailed Description

Terminal special characters.

Definition at line 142 of file serial_options.h.

Field Documentation

◆ interrupt

uint8_t serial_control_characters::interrupt

Send a SIGINT signal.

Recognized when serial_local_modes::enable_signals is set, and then not passed as input.

The INTR (interrupt) character raises a SIGINT signal for all processes in the foreground job associated with the terminal. The INTR character itself is then discarded.

Typically, the INTR character is C-c (i.e. 0x03, ETX, end of text)

Definition at line 148 of file serial_options.h.

◆ quit

uint8_t serial_control_characters::quit

Send a SIGQUIT signal.

The QUIT character raises a SIGQUIT signal for all processes in the foreground job associated with the terminal.

The QUIT character itself is then discarded.

Typically, the QUIT character is C-\ (i.e. 0x1c, FS, file separator)

Definition at line 149 of file serial_options.h.