tcsetattr function
tcsetattr(3): sets the attributes of the terminal fd to termios,
when (tcsanow, …) says when; 0, or -1.
Not a leaf call: TCSAFLUSH and TCSADRAIN wait for the output to be sent.
Implementation
@Native<Int Function(Int, Int, Pointer<Void>)>()
external int tcsetattr(int fd, int when, Pointer<Void> termios);