Function liberate::sys::error_code

Function Documentation

int liberate::sys::error_code()

Platform-independent version of getting the last error code, i.e. returns errno on POSIX and WSAGetLastError() on Win32.

Returns

The last platform error code.