x.setattr_when&nbsp;=&nbsp;TCSANOW&nbsp;|&nbsp;TCSADRAIN&nbsp;|&nbsp;TCSAFLUSH
&nbsp;&nbsp;val&nbsp;tcsetattr&nbsp;:
&nbsp;&nbsp;&nbsp;&nbsp;UnixLabels.file_descr&nbsp;-&gt;
&nbsp;&nbsp;&nbsp;&nbsp;mode:UnixLabels.setattr_when&nbsp;-&gt;&nbsp;UnixLabels.terminal_io&nbsp;-&gt;&nbsp;unit
&nbsp;&nbsp;val&nbsp;tcsendbreak&nbsp;:&nbsp;UnixLabels.file_descr&nbsp;-&gt;&nbsp;duration:int&nbsp;-&gt;&nbsp;unit
&nbsp;&nbsp;val&nbsp;tcdrain&nbsp;:&nbsp;UnixLabels.file_descr&nbsp;-&gt;&nbsp;unit
&nbsp;&nbsp;type&nbsp;fl