userver: userver/utils/strerror.hpp Source File
Loading...
Searching...
No Matches
strerror.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/utils/strerror.hpp
4/// @brief /// MT-safe version of POSIX functions ::strerror and ::strsignal
5
6#include <string>
7
8USERVER_NAMESPACE_BEGIN
9
10namespace utils {
11
12/// MT-safe version of POSIX function ::strerror
13std::string strerror(int return_code);
14
15/// MT-safe version of POSIX function ::strsignal
16std::string strsignal(int signal_num);
17
18} // namespace utils
19
20USERVER_NAMESPACE_END