errno_t Chusov::GetLastSystemErrorAsPosixCode | ( | ) |
Returns a platform-specific last-error code represented in POSIX error code space.
On Windows the function calls the system GetLastError function and translates the result into POSIX code via the Win32ErrorToPosixError function.
On Posix systems the function returns the value of errno.