diff options
Diffstat (limited to '')
-rw-r--r-- | src/common/errno.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/common/errno.h b/src/common/errno.h new file mode 100644 index 00000000..9dbd1438 --- /dev/null +++ b/src/common/errno.h @@ -0,0 +1,9 @@ +#ifndef CEPH_ERRNO_H +#define CEPH_ERRNO_H + +#include <string> + +/* Return a given error code as a string */ +std::string cpp_strerror(int err); + +#endif |