1234567891011121314151617181920 |
- //
- // $Id$
- //
- #include<__vic/stdio_file.h>
- #include<__vic/error.h>
- namespace __vic {
- //----------------------------------------------------------------------------
- void stdio_file::close()
- {
- int st = std::fclose(fp);
- fp = nullptr;
- if(st) throw exception("std::fclose");
- }
- //----------------------------------------------------------------------------
- } // namespace
|