Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
31
cde/programs/dtinfo/DtMmdb/utility/c_fstream.h
Normal file
31
cde/programs/dtinfo/DtMmdb/utility/c_fstream.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/* $XConsortium: c_fstream.h /main/5 1996/08/21 15:54:38 drk $ */
|
||||
|
||||
#ifndef _x_fstream_h
|
||||
#define _x_fstream_h
|
||||
|
||||
#include "utility/c_filebuf.h"
|
||||
#include "utility/c_iostream.h"
|
||||
|
||||
class fstream : public iostream
|
||||
{
|
||||
public:
|
||||
fstream ();
|
||||
fstream (int fd);
|
||||
fstream (const char* name, int mode, int protect = 0644);
|
||||
|
||||
~fstream();
|
||||
|
||||
void open(const char* name, int mode, int protect = 0644);
|
||||
|
||||
void close();
|
||||
|
||||
filebuf* rdbuf();
|
||||
|
||||
};
|
||||
|
||||
extern fstream xcout;
|
||||
extern fstream xcerr;
|
||||
extern fstream xcin;
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user