1234567891011121314151617181920212223242526272829303132333435 |
- #ifndef UUID_F0EE17BE6C1211DE87FF459155D89593
- #define UUID_F0EE17BE6C1211DE87FF459155D89593
- #include "boost/exception/info.hpp"
- #include <errno.h>
- #include <string.h>
- namespace
- boost
- {
- typedef error_info<struct errinfo_errno_,int> errinfo_errno;
-
-
-
-
-
-
- inline
- std::string
- to_string( errinfo_errno const & e )
- {
- std::ostringstream tmp;
- int v=e.value();
- tmp << v << ", \"" << strerror(v) << "\"";
- return tmp.str();
- }
- }
- #endif
|