module UnixExtras: sig endval make_daemon : (unit -> unit) -> bool -> unitlet _ = UnixExtras.make_daemon server_func true
* will start a new process and run server_func in it, while the original
* process will exit. See Stevens, Advanced Programming in the Unix Environment
* for details.val send_file : src:Unix.file_descr -> dest:Unix.file_descr -> start:int -> len:int -> intlen bytes from the src descr with offset start and
copies them to the dest descr. Currently implemented only for Linux
and FreeBSD. The FreeBSD sendfile() system call requires that dest be
a socket.Unix_error on failure.
Sevent functions
|
val getservent : unit -> Unix.service_entryval setservent : bool -> unitval endservent : unit -> unit