throw_errno.h 338 B

123456789101112131415161718192021
  1. // Throw exception with errno value
  2. //
  3. // Platform: ISO C++ 98/11
  4. // $Id$
  5. //
  6. // (c) __vic 2017
  7. #ifndef __VIC_THROW_ERRNO_H
  8. #define __VIC_THROW_ERRNO_H
  9. #include<__vic/defs.h>
  10. namespace __vic {
  11. __VIC_NORETURN void throw_errno(const char * );
  12. __VIC_NORETURN void throw_errno(const char * , int );
  13. } // namespace
  14. #endif // header guard