userver
C++ Async Framework
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
8
USERVER_NAMESPACE_BEGIN
9
10
namespace
utils
{
11
12
/// MT-safe version of POSIX function `::strerror`
13
std::string
strerror
(
int
return_code);
// NOLINT(readability-identifier-naming)
14
15
/// MT-safe version of POSIX function `::strsignal`
16
std::string
strsignal
(
int
signal_num);
// NOLINT(readability-identifier-naming)
17
18
}
// namespace utils
19
20
USERVER_NAMESPACE_END
userver
utils
strerror.hpp
Generated on Mon Oct 6 2025 12:36:28 for userver by
Doxygen
1.13.2