package extunix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Control the underlying device parameters of special files

val siocgifconf : sock:Unix.file_descr -> (string * string) list

siocgifconf sock, where sock is any socket, e.g. socket PF_INET SOCK_DGRAM 0

  • returns

    the list of interfaces and corresponding addresses (FIXME max 32) (may change)

val crtscts : Unix.file_descr -> int

Enable RTS/CTS (hardware) flow control. See CRTSCTS in tcsetattr(3). FIXME this is likely to disappear when separate interface for tcsetattr and tcgetattr gets implemented

val tiocmget : Unix.file_descr -> int

Get the status of modem bits. See TIOCMGET in tty_ioctl(4).

val tiocmset : Unix.file_descr -> int -> unit

Set the status of modem bits. See TIOCMSET in tty_ioctl(4).

val tiocmbic : Unix.file_descr -> int -> unit

Clear the indicated modem bits. See TIOCMBIC in tty_ioctl(4).

val tiocmbis : Unix.file_descr -> int -> unit

Set the indicated modem bits. See TIOCMBIS in tty_ioctl(4).

OCaml

Innovation. Community. Security.