Minilib.IO.Errno
Defined in minilib-io@0.10.1
Functions for errno which is set by system calls and some library functions.
Values
namespace Minilib.IO.Errno
get_last_error
Type: [m : Minilib.Monad.IO::MonadIO] m Std::String
Gets the error message corresponding to the last error number.
strerror
Type: [m : Minilib.Monad.IO::MonadIO] Std::I32 -> m Std::String
Converts the error number returned by get_errno to a string.
This function may have race conditions, but is more portable.
strerror_r
Deprecated: Now this function is identical to strerror.
Type: [m : Minilib.Monad.IO::MonadIO] Std::I32 -> m Std::String