Up

module Block

: sig

Block device on top of Lwt_unix

include V1.BLOCK with type 'a io = 'a Lwt.t and type page_aligned_buffer = Cstruct.t and type id = string

low-level convenience functions

#
val really_read : Lwt_unix.file_descr -> Cstruct.t -> unit Lwt.t
#
val really_write : Lwt_unix.file_descr -> Cstruct.t -> unit Lwt.t
#
val blkgetsize : string -> [
| `Ok of int64
| `Error of error
]
end