summaryrefslogtreecommitdiffstats
path: root/src/common/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/errno.h')
-rw-r--r--src/common/errno.h9
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