type t = Unix.terminal_io = {}val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.tval sexp_of_setattr_when : setattr_when -> Ppx_sexp_conv_lib.Sexp.tval tcgetattr : File_descr.t -> tReturn the status of the terminal referred to by the given file descriptor.
val tcsetattr : t -> File_descr.t -> mode:setattr_when -> unitSet the status of the terminal referred to by the given file descriptor. The second argument indicates when the status change takes place: immediately (TCSANOW), when all pending output has been transmitted (TCSADRAIN), or after flushing all input that has been received but not read (TCSAFLUSH). TCSADRAIN is recommended when changing the output parameters; TCSAFLUSH, when changing the input parameters.
val tcsendbreak : File_descr.t -> duration:int -> unitSend a break condition on the given file descriptor. The second argument is the duration of the break, in 0.1s units; 0 means standard duration (0.25s).
val tcdrain : File_descr.t -> unitWaits until all output written on the given file descriptor has been transmitted.
val sexp_of_flush_queue : flush_queue -> Ppx_sexp_conv_lib.Sexp.tval flush_queue_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> flush_queueval tcflush : File_descr.t -> mode:flush_queue -> unitDiscard data written on the given file descriptor but not yet transmitted, or data received but not yet read, depending on the second argument: TCIFLUSH flushes data received but not read, TCOFLUSH flushes data written but not transmitted, and TCIOFLUSH flushes both.
val sexp_of_flow_action : flow_action -> Ppx_sexp_conv_lib.Sexp.tval flow_action_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> flow_actionval tcflow : File_descr.t -> mode:flow_action -> unitSuspend or restart reception or transmission of data on the given file descriptor, depending on the second argument: TCOOFF suspends output, TCOON restarts output, TCIOFF transmits a STOP character to suspend input, and TCION transmits a START character to restart input.