SYNOPSIS

int xs_errno (void);

DESCRIPTION

The xs_errno() function shall retrieve the value of the errno variable for the calling thread.

The xs_errno() function is provided to assist users on non-POSIX systems who are experiencing issues with retrieving the correct value of errno directly. Specifically, users on Win32 systems whose application is using a different C run-time library from the C run-time library in use by Crossroads will need to use xs_errno() for correct operation.

Important

Users not experiencing issues with retrieving the correct value of errno should not use this function and should instead access the errno variable directly.

RETURN VALUE

The xs_errno() function shall return the value of the errno variable for the calling thread.

ERRORS

No errors are defined.

RELATED TO xs_errno…

xs(7)

AUTHORS

The Crossroads documentation was written by Martin Sustrik <\m[blue][email protected]\m[]\s-2\u[1]\d\s+2> and Martin Lucina <\m[blue][email protected]\m[]\s-2\u[2]\d\s+2>.

NOTES