Module Extended_linux

module Extended_linux: sig .. end
Splicing - zero-copies between kernel buffers


type uids = {
   ruid :int;
   euid :int;
   suid :int;
}
val setresuid : (?ruid:int -> ?euid:int -> ?suid:int -> unit -> unit) Core.Std.Or_error.t
val getresuid : (unit -> uids) Core.Std.Or_error.t

Splicing - zero-copies between kernel buffers

module Splice: sig .. end
module Statfs: sig .. end
val statfs : (string -> Statfs.t) Core.Std.Or_error.t
val bin_uids : uids Bin_prot.Type_class.t
val bin_read_uids : uids Bin_prot.Read.reader
val __bin_read_uids__ : (int -> uids) Bin_prot.Read.reader
val bin_reader_uids : uids Bin_prot.Type_class.reader
val bin_size_uids : uids Bin_prot.Size.sizer
val bin_write_uids : uids Bin_prot.Write.writer
val bin_writer_uids : uids Bin_prot.Type_class.writer
val uids_of_sexp : Sexplib.Sexp.t -> uids
val sexp_of_uids : uids -> Sexplib.Sexp.t

Splicing - zero-copies between kernel buffers


Splice flags


Type of Splice event flag

Type of Splice event flags

make_flags ar

Splice functions


splice ?assume_fd_is_nonblocking ~fd_in ?off_in ~fd_out ?off_out ~len flags see man-page for details.

tee ?assume_fd_is_nonblocking ~fd_in ~fd_out len flags see man-page for details.

vmsplice ?assume_fd_is_nonblocking fd iovecs ?count flags see man-page for details.