56 #ifndef LELY_UTIL_ERRNUM_H_ 57 #define LELY_UTIL_ERRNUM_H_ 65 #elif _POSIX_C_SOURCE >= 200112L && !defined(__NEWLIB__) 69 #ifndef LELY_UTIL_ERRNUM_INLINE 70 #define LELY_UTIL_ERRNUM_INLINE static inline 390 #endif // !LELY_UTIL_ERRNUM_H_ File descriptor value too large.
const char * errc2str(int errc)
Returns a string describing a native error code.
Inappropriate I/O control operation.
int errc2no(int errc)
Transforms a native error code to a standard C error number.
The intended socket type was not recognized.
Resource deadlock would occur.
Operation not supported on socket.
int errnum2c(errnum_t errnum)
Transforms a platform-independent error number to a native error code.
No buffer space available.
void set_errnum(errnum_t errnum)
Sets the current (thread-specific) platform-independent error number to errnum.
Mathematics argument out of domain of function.
Too many levels of symbolic links.
The address family was not recognized or the address length was invalid for the specified family...
Too many files open in system.
Executable file format error.
const char * errnum2str(errnum_t errnum)
Returns a string describing a platform-independent error number.
void set_errc(int errc)
Sets the current (thread-specific) native error code to errc.
Connection already in progress.
Address family not supported.
The flags had an invalid value.
A non-recoverable error occurred.
int get_errc(void)
Returns the last (thread-specific) native error code set by a system call or library function...
Resource unavailable, try again.
errnum_t errno2num(int errnum)
Transforms a standard C error number to a platform-independent error number.
The socket is not connected.
int errno2c(int errnum)
Transforms a standard C error number to a native error code.
errnum
The platform-independent error numbers.
No message of the desired type.
No message is available on the STREAM head read queue.
const char * errno2str(int errnum)
Returns a string describing a standard C error number.
No such device or address.
errnum_t errc2num(int errc)
Transforms a native error code to a platform-independent error number.
No such file or directory.
int errnum2no(errnum_t errnum)
Transforms a platform-independent error number to a standard C error number.
errnum_t get_errnum(void)
Returns the last (thread-specific) platform-independent error number set by a system call or library ...
enum errnum errnum_t
The platform-independent error number type.
The service passed was not recognized for the specified socket type.
The name does not resolve for the supplied parameters.
This header file is part of the Lely libraries; it contains the compiler feature definitions.
Protocol wrong type for socket.
An argument buffer overflowed.
Destination address required.
The name could not be resolved at this time.
There was a memory allocation failure.
Not a directory or a symbolic link to a directory.
Value too large to be stored in data type.
Connection aborted by network.