home *** CD-ROM | disk | FTP | other *** search
- /*[]------------------------------------------------------------[]*/
- /*| |*/
- /*| fsclose.cpp |*/
- /*| |*/
- /*| Class fstreambase |*/
- /*| void fstreambase::close() |*/
- /*| |*/
- /*[]------------------------------------------------------------[]*/
-
- /*
- * C/C++ Run Time Library - Version 5.0
- *
- * Copyright (c) 1990, 1992 by Borland International
- * All Rights Reserved.
- *
- */
-
- #include <ioconfig.h>
- #include "filesys.h"
- #include <fstream.h>
-
- void fstreambase::close()
- {
- if( buf.close() )
- clear(ios::goodbit);
- else
- setstate(ios::failbit);
- }
-
-
-