int tcsetattr(int fildes, int optional_actions, const struct termios *termios_p);
The change occurs immediately.
The change occurs after all output written to the file descriptor has been transmitted. This action should be used when changing parameters that affect output.
The change occurs after all output written to the file descriptor has been transmitted, and all input so far received but not read is discarded before the change is made.
The effect of
Is a file descriptor that must refer to a terminal.
An option that must be one of the following: TCSANOW, TCSADRAIN, TCSAFLUSH.
Points to a location in the termios structure.
The fildes parameter is not a valid file descriptor.
A signal interrupted the call.
The optional_actions parameter is not a proper value, or an attempt was made to change an attribute represented in the termios structure to an unsupported value.
The file associated with fildes is not a terminal.
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
- struct termios
PTC MKS Toolkit 10.3 Documentation Build 39.