All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
errno.h
Go to the documentation of this file.
1//
2// Copyright 2016 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_BASE_ARCH_ERRNO_H
8#define PXR_BASE_ARCH_ERRNO_H
9
13
14#include "pxr/pxr.h"
15#include "pxr/base/arch/api.h"
16#include <string>
17
18PXR_NAMESPACE_OPEN_SCOPE
19
22
29ARCH_API std::string ArchStrerror();
30
34ARCH_API std::string ArchStrerror(int errorCode);
35
36#if defined(ARCH_OS_WINDOWS)
40ARCH_API std::string ArchStrSysError(unsigned long errorCode);
41#endif
42
44
45PXR_NAMESPACE_CLOSE_SCOPE
46
47#endif // PXR_BASE_ARCH_ERRNO_H
ARCH_API std::string ArchStrerror()
Return the error string for the current value of errno.