throw_errno.cpp 354 B

123456789101112131415161718
  1. //
  2. // $Id$
  3. //
  4. #include<__vic/throw_errno.h>
  5. #include<__vic/error.h>
  6. namespace __vic {
  7. //----------------------------------------------------------------------------
  8. void throw_errno(const char *prompt, int err_no)
  9. {
  10. throw libc_error(prompt, err_no);
  11. }
  12. //----------------------------------------------------------------------------
  13. } // namespace