]>
git.proxmox.com Git - ceph.git/blob - ceph/src/common/errno.cc
1 #include "common/errno.h"
3 #include "include/compat.h"
8 std::string
cpp_strerror(int err
)
15 std::ostringstream oss
;
17 errmsg
= ceph_strerror_r(err
, buf
, sizeof(buf
));
19 oss
<< "(" << err
<< ") " << errmsg
;