Skip to main content

io_error_from_errno

Function io_error_from_errno 

Source
pub fn io_error_from_errno(err_no: i32) -> IOErrorEnum
Expand description

int saved_errno;

ret = read (blah); saved_errno = errno;

g_io_error_from_errno (saved_errno); ]|

§err_no

Error number as defined in errno.h.

§Returns

#GIOErrorEnum value for the given errno.h error number