protocol-9p-unix
Unix clients and servers for the 9P protocol
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library protocol_9p_unix
type page_aligned_buffer = Cstruct.t
The type for memory buffers.
val read :
t ->
string ->
int64 ->
int64 ->
( page_aligned_buffer list, error ) Pervasives.result io
read t key offset length
reads up to length
bytes from the value associated with key
. If less data is returned than requested, this indicates the end of the value.
val mem : t -> string -> ( bool, error ) Pervasives.result io
mem t key
returns true
if a value is set for key
in t
, and false
if not so.
val size : t -> string -> ( int64, error ) Pervasives.result io
Get the value size.