Pixar Arch 0.25.8
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 "pxr/arch/pxr.h"
15#include "pxr/arch/api.h"
16#include <string>
17
18ARCH_NAMESPACE_OPEN_SCOPE
19
26ARCH_API std::string ArchStrerror();
27
31ARCH_API std::string ArchStrerror(int errorCode);
32
33#if defined(ARCH_OS_WINDOWS)
37ARCH_API std::string ArchStrSysError(unsigned long errorCode);
38#endif
39
40ARCH_NAMESPACE_CLOSE_SCOPE
41
42#endif // PXR_ARCH_ERRNO_H
std::string ArchStrerror()
Return the error string for the current value of errno.