#ifndef LLVM_LIBC_SRC___SUPPORT_STRINGUTIL_ERROR_TO_STRING_H
#define LLVM_LIBC_SRC___SUPPORT_STRINGUTIL_ERROR_TO_STRING_H
#include "src/__support/CPP/optional.h"
#include "src/__support/CPP/span.h"
#include "src/__support/CPP/string_view.h"
#include "src/__support/macros/config.h"
namespace LIBC_NAMESPACE_DECL {
cpp::string_view get_error_string(int err_num);
cpp::string_view get_error_string(int err_num, cpp::span<char> buffer);
cpp::optional<cpp::string_view> try_get_errno_name(int err_num);
}
#endif