Windows
NAME
Universal::Errno::Windows - Provide transparent Windows access to errno
DESCRIPTION
Universal::Errno::Windows provides the same interface as Unix::errno
to
Windows and its GetLastError and SetLastError functions. Unlike
Windows, getting the error message will not reset the value of
errno. That has to be done manually.
Since this uses SetLastError
, the caveat about setting errno
in Unix::errno
does not apply. This should not be relied upon
unless Universal::Errno::Windows is loaded directly.
AUTHOR
Travis Gibson <[email protected]>
CREDIT
Adapted from lizmat's Unix::errno
, which can be found at
https://github.com/lizmat/Unix-errno
COPYRIGHT AND LICENSE
Copyright 2021 Travis Gibson
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.