| XS_ERRNO(3) | Crossroads I/O Manual | XS_ERRNO(3) |
xs_errno - retrieve value of errno for the calling thread
int xs_errno (void);
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.
Users not experiencing issues with retrieving the correct value of errno should not use this function and should instead access the errno variable directly.
The xs_errno() function shall return the value of the errno variable for the calling thread.
No errors are defined.
The Crossroads documentation was written by Martin Sustrik <sustrik@250bpm.com[1]> and Martin Lucina <martin@lucina.net[2]>.
| 06/13/2012 | Crossroads I/O 1.2.0 |