raw(3cur) raw(3cur)
Name
raw, noraw - enable/disable raw mode
Syntax
int raw()
int noraw()
Description
The routine sets the terminal into RAW mode. RAW mode is similar to CBREAK mode, in that characters are immediately passed through to the
user program as they are typed. In RAW mode, the interrupt, quit, suspend and flow control characters are passed through uninterpreted,
and do not generate a signal.
The behavior of the BREAK key depends on the settings of bits that are not controlled by
The routine disables RAW mode.
Return Values
The and functions return OK on success and ERR on error.
raw(3cur)