Pixar Arch
Loading...
Searching...
No Matches
errno.h
Go to the documentation of this file.
1// Copyright 2016 Pixar
2//
3// Licensed under the terms set forth in the LICENSE.txt file available at
4// https://openusd.org/license.
5//
6// Modified by Jeremy Retailleau.
7
8#ifndef PXR_ARCH_ERRNO_H
9#define PXR_ARCH_ERRNO_H
10
13
14#include "./api.h"
15#include <string>
16
17namespace pxr {
18
25ARCH_API std::string ArchStrerror();
26
30ARCH_API std::string ArchStrerror(int errorCode);
31
32#if defined(ARCH_OS_WINDOWS)
36ARCH_API std::string ArchStrSysError(unsigned long errorCode);
37#endif
38
39} // namespace pxr
40
41#endif // PXR_ARCH_ERRNO_H
ARCH_API std::string ArchStrerror()
Return the error string for the current value of errno.