package uwt
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=e924c3f80906c44871c62870d9472956ff043a14a4c17e886302bf47e6ca71e1
md5=f611099ba6eae6ea3f6b46a21e30effc
doc/uwt.base/Uwt_base/index.html
Module Uwt_base
Lwt independent core
Uwt_base contains type definitions and functions that are shared by Uwt and Uv_fs_sync
type error = | E2BIG(*argument list too long
*)| EACCES(*permission denied
*)| EADDRINUSE(*address already in use
*)| EADDRNOTAVAIL(*address not available
*)| EAFNOSUPPORT(*address family not supported
*)| EAGAIN(*resource temporarily unavailable
*)| EAI_ADDRFAMILY(*address family not supported
*)| EAI_AGAIN(*temporary failure
*)| EAI_BADFLAGS(*bad ai_flags value
*)| EAI_BADHINTS(*invalid value for hints
*)| EAI_CANCELED(*request canceled
*)| EAI_FAIL(*permanent failure
*)| EAI_FAMILY(*ai_family not supported
*)| EAI_MEMORY(*out of memory
*)| EAI_NODATA(*no address
*)| EAI_NONAME(*unknown node or service
*)| EAI_OVERFLOW(*argument buffer overflow
*)| EAI_PROTOCOL(*resolved protocol is unknown
*)| EAI_SERVICE(*service not available for socket type
*)| EAI_SOCKTYPE(*socket type not supported
*)| EALREADY(*connection already in progress
*)| EBADF(*bad file descriptor
*)| EBUSY(*resource busy or locked
*)| ECANCELED(*operation canceled
*)| ECHARSET(*Windows filenames (and similar parameters) are expected to be utf-8 encoded.
*)ECHARSETis returned, if one parameter contains invalid byte sequences. Furthermore,ECHARSETwill be returned, if your strings contain null bytes (on *nix, too).| ECONNABORTED(*software caused connection abort
*)| ECONNREFUSED(*connection refused
*)| ECONNRESET(*connection reset by peer
*)| EDESTADDRREQ(*destination address required
*)| EEXIST(*file already exists
*)| EFAULT(*bad address in system call argument
*)| EFBIG(*file too large
*)| EHOSTUNREACH(*host is unreachable
*)| EINTR(*interrupted system call
*)| EINVAL(*invalid argument
*)| EIO(*i/o error
*)| EISCONN(*socket is already connected
*)| EISDIR(*illegal operation on a directory
*)| ELOOP(*too many symbolic links encountered
*)| EMFILE(*too many open files
*)| EMSGSIZE(*message too long
*)| ENAMETOOLONG(*name too long
*)| ENETDOWN(*network is down
*)| ENETUNREACH(*network is unreachable
*)| ENFILE(*file table overflow
*)| ENOBUFS(*no buffer space available
*)| ENODEV(*no such device
*)| ENOENT(*no such file or directory
*)| ENOMEM(*not enough memory
*)| ENONET(*machine is not on the network
*)| ENOPROTOOPT(*protocol not available
*)| ENOSPC(*no space left on device
*)| ENOSYS(*function not implemented
*)| ENOTCONN(*socket is not connected
*)| ENOTDIR(*not a directory
*)| ENOTEMPTY(*directory not empty
*)| ENOTSOCK(*socket operation on non-socket
*)| ENOTSUP(*operation not supported on socket
*)| EPERM(*operation not permitted
*)| EPIPE(*broken pipe
*)| EPROTO(*protocol error
*)| EPROTONOSUPPORT(*protocol not supported
*)| EPROTOTYPE(*protocol wrong type for socket
*)| ERANGE(*result too large
*)| EROFS(*read-only file system
*)| ESHUTDOWN(*cannot send after transport endpoint shutdown
*)| ESPIPE(*invalid seek
*)| ESRCH(*no such process
*)| ETIMEDOUT(*connection timed out
*)| ETXTBSY(*text file is busy
*)| EXDEV(*cross-device link not permitted
*)| UNKNOWN(*unknown error
*)| EOF(*end of file
*)| ENXIO(*no such device or address
*)| EMLINK(*too many links
*)| UWT_EFATAL(*something happened that the author of uwt didn't expect. Probably a bug or the api of libuv has changed in the meanwhile
*)
val strerror : error -> stringerror message for the given error code
val err_name : error -> stringerror name for the given error code
val to_unix_error : error -> Unix.errormap error to Unix.error , Unix.EUNKNOWNERR is used, if the mapping is not possible
val of_unix_error : Unix.error -> errorget back the original Uwt.error from an exception raised by a Uwt function
module Int_result : sig ... endInt_result.t is used instead of 'a result, if a function returns either an error or a non-negative integer (including unit/bool).
Abstract type for a file descriptor. Unlike Unix.file_descr it is not intended to wrap a SOCKET.
type sockaddr = Unix.sockaddrtype buf =
(char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.tval stdin : fileFile descriptor for standard input.
val stdout : fileFile descriptor for standard output.
val stderr : fileFile descriptor for standard error.
module Iovec_write : sig ... endpass multiple buffers at once to a libuv write function.
module Fs_types : sig ... endmodule type Fs_functions = sig ... endmodule Conv : sig ... endmodule Misc : sig ... endThis section contains miscellaneous functions that don't really belong in any other section.
module Sys_info : sig ... endInformation about your operating system.