Function TCSetAttr (Fd:longint;OptAct:longint;var Tios:TermIOS) : Boolean;
TCSetAttr Sets the terminal parameters you specify in a TermIOS structure Tios for the terminal referred to by the file descriptor Fd. OptAct specifies an optional action when the set need to be done, this could be one of the following pre-defined values:
Errors are reported in LinuxError.
TCGetAttr, termios (2)
For an example, see TCGetAttr.