Module Unix_cstruct

Unix functions that operate on Cstruct buffers.

val of_fd : Unix.file_descr -> Cstruct.t

of_fd fd memory maps the fd and returns a cstruct