package extunix
Module Specific.Ioctl
Control the underlying device parameters of special files
val siocgifconf : sock:Unix.file_descr -> (string * string) listsiocgifconf sock, where sock is any socket, e.g. socket PF_INET SOCK_DGRAM 0
val crtscts : Unix.file_descr -> intEnable 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 -> intGet the status of modem bits. See TIOCMGET in tty_ioctl(4).
val tiocmset : Unix.file_descr -> int -> unitSet the status of modem bits. See TIOCMSET in tty_ioctl(4).
val tiocmbic : Unix.file_descr -> int -> unitClear the indicated modem bits. See TIOCMBIC in tty_ioctl(4).
val tiocmbis : Unix.file_descr -> int -> unitSet the indicated modem bits. See TIOCMBIS in tty_ioctl(4).
val tiocgwinsz : Unix.file_descr -> int * int * int * inttiocgwinsz fd returns a tuple (cols, rows, xpixel, ypixel) representing the size of the character device. cols is the number of character columns, rows is the number of character rows, xpixel is width of the device in pixels, and ypixel is the height of the device in pixels.