1 //----------------------------------------------------------------------
2 // This software is part of the OpenBeOS distribution and is covered
3 // by the OpenBeOS license.
5 // Copyright (c) 2003 Tyler Dauwalder, tyler@dauwalder.net
6 //----------------------------------------------------------------------
8 /*! \file FileStream.cpp
11 #include "FileStream.h"
16 FileStream::FileStream(const char *path
, uint32 open_mode
)
17 : PositionIOStream(fFile
)
18 , fFile(path
, open_mode
)
23 FileStream::InitCheck() const
25 status_t error
= PositionIOStream::InitCheck();
27 error
= fFile
.InitCheck();