]> git.proxmox.com Git - ceph.git/blame - ceph/src/common/errno.h
import quincy beta 17.1.0
[ceph.git] / ceph / src / common / errno.h
CommitLineData
7c673cae
FG
1#ifndef CEPH_ERRNO_H
2#define CEPH_ERRNO_H
3
4#include <string>
5
6/* Return a given error code as a string */
7std::string cpp_strerror(int err);
8
f67539c2
TL
9#ifdef _WIN32
10// While cpp_strerror handles errors defined in errno.h, this one
11// accepts standard Windows error codes.
12std::string win32_strerror(int err);
13std::string win32_lasterror_str();
14#endif /* _WIN32 */
15
7c673cae 16#endif