LLVM 22.0.0git
Errno.cpp File Reference
#include "llvm/Support/Errno.h"
#include "llvm/Config/config.h"
#include <cstring>
#include <errno.h>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::sys

Functions

LLVM_ABI std::string llvm::sys::StrError ()
 Returns a string representation of the errno value, using whatever thread-safe variant of strerror() is available.
LLVM_ABI std::string llvm::sys::StrError (int errnum)
 Like the no-argument version above, but uses errnum instead of errno.