isErrno

get the current error code

SYNOPSIS

int isErrno( IsFile * isfd );

isfd isam file descriptor

RETURN

the current error code, as detailed in Error Codes, or the global errno value, if isfd is NULL.

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.