JayBeams  0.1
Another project to have fun coding.
os_error.hpp
Go to the documentation of this file.
1 #ifndef jb_detail_os_error_hpp
2 #define jb_detail_os_error_hpp
3 
4 namespace jb {
5 namespace detail {
6 
7 /**
8  * Check the value of result and raise an exception if it is -1.
9  */
10 void os_check_error(int result, char const* msg);
11 
12 } // namespace detail
13 } // namespace jb
14 
15 #endif // jb_detail_os_error_hpp
void os_check_error(int result, char const *msg)
Check the value of result and raise an exception if it is -1.
Definition: os_error.cpp:5
The top-level namespace for the JayBeams library.
Definition: as_hhmmss.hpp:7