is_errno

get the current error code

SYNOPSIS

int * is_errno( int isfd );

isfd isam file identifier

RETURN

a pointer to the base file descriptor iserrno field, giving the current error code, as detailed in Error Codes, or NULL on error.

NOTES

if isfd is NULL - for instance when an isOpen or isBuild call fails - then the current value of the global errno value is returned.

you should use this call in place of the global iserrno if you need to be thread safe.

SEE ALSO

is_error is_errio Error Codes