Uwt_baseLwt independent core
Uwt_base contains type definitions and functions that are shared by Uwt and Uv_fs_sync
type error = | E2BIGargument list too long
*)| EACCESpermission denied
*)| EADDRINUSEaddress already in use
*)| EADDRNOTAVAILaddress not available
*)| EAFNOSUPPORTaddress family not supported
*)| EAGAINresource temporarily unavailable
*)| EAI_ADDRFAMILYaddress family not supported
*)| EAI_AGAINtemporary failure
*)| EAI_BADFLAGSbad ai_flags value
*)| EAI_BADHINTSinvalid value for hints
*)| EAI_CANCELEDrequest canceled
*)| EAI_FAILpermanent failure
*)| EAI_FAMILYai_family not supported
*)| EAI_MEMORYout of memory
*)| EAI_NODATAno address
*)| EAI_NONAMEunknown node or service
*)| EAI_OVERFLOWargument buffer overflow
*)| EAI_PROTOCOLresolved protocol is unknown
*)| EAI_SERVICEservice not available for socket type
*)| EAI_SOCKTYPEsocket type not supported
*)| EALREADYconnection already in progress
*)| EBADFbad file descriptor
*)| EBUSYresource busy or locked
*)| ECANCELEDoperation canceled
*)| ECHARSETWindows filenames (and similar parameters) are expected to be utf-8 encoded. ECHARSET is returned, if one parameter contains invalid byte sequences. Furthermore, ECHARSET will be returned, if your strings contain null bytes (on *nix, too).
| ECONNABORTEDsoftware caused connection abort
*)| ECONNREFUSEDconnection refused
*)| ECONNRESETconnection reset by peer
*)| EDESTADDRREQdestination address required
*)| EEXISTfile already exists
*)| EFAULTbad address in system call argument
*)| EFBIGfile too large
*)| EHOSTUNREACHhost is unreachable
*)| EINTRinterrupted system call
*)| EINVALinvalid argument
*)| EIOi/o error
*)| EISCONNsocket is already connected
*)| EISDIRillegal operation on a directory
*)| ELOOPtoo many symbolic links encountered
*)| EMFILEtoo many open files
*)| EMSGSIZEmessage too long
*)| ENAMETOOLONGname too long
*)| ENETDOWNnetwork is down
*)| ENETUNREACHnetwork is unreachable
*)| ENFILEfile table overflow
*)| ENOBUFSno buffer space available
*)| ENODEVno such device
*)| ENOENTno such file or directory
*)| ENOMEMnot enough memory
*)| ENONETmachine is not on the network
*)| ENOPROTOOPTprotocol not available
*)| ENOSPCno space left on device
*)| ENOSYSfunction not implemented
*)| ENOTCONNsocket is not connected
*)| ENOTDIRnot a directory
*)| ENOTEMPTYdirectory not empty
*)| ENOTSOCKsocket operation on non-socket
*)| ENOTSUPoperation not supported on socket
*)| EPERMoperation not permitted
*)| EPIPEbroken pipe
*)| EPROTOprotocol error
*)| EPROTONOSUPPORTprotocol not supported
*)| EPROTOTYPEprotocol wrong type for socket
*)| ERANGEresult too large
*)| EROFSread-only file system
*)| ESHUTDOWNcannot send after transport endpoint shutdown
*)| ESPIPEinvalid seek
*)| ESRCHno such process
*)| ETIMEDOUTconnection timed out
*)| ETXTBSYtext file is busy
*)| EXDEVcross-device link not permitted
*)| UNKNOWNunknown error
*)| EOFend of file
*)| ENXIOno such device or address
*)| EMLINKtoo many links
*)| EHOSTDOWNhost is down
*)| EREMOTEIOremote I/O error
*)| ENOTTYinappropriate ioctl for device
*)| EFTYPEinappropriate file type or format
*)| UWT_EFATALsomething 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.