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.

Universal::Errno v1.0.0

Errno wrapper for Linux, Unix, and Windows

Authors

  • Travis Gibson

License

Artistic-2.0

Dependencies

ifNativeLibs:ver<0.0.5+>

Test Dependencies

Provides

  • Universal::Errno
  • Universal::Errno::Constants
  • Universal::Errno::Unix
  • Universal::Errno::Windows

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.