Assorted whitespace cleanup and typo fixes.
[haiku.git] / src / bin / makeudfimage / FileStream.cpp
blob151d44a0d36978d79aa4649cf54aef69198d7b9e
1 //----------------------------------------------------------------------
2 // This software is part of the OpenBeOS distribution and is covered
3 // by the OpenBeOS license.
4 //
5 // Copyright (c) 2003 Tyler Dauwalder, tyler@dauwalder.net
6 //----------------------------------------------------------------------
8 /*! \file FileStream.cpp
9 */
11 #include "FileStream.h"
13 #include <stdlib.h>
14 #include <string.h>
16 FileStream::FileStream(const char *path, uint32 open_mode)
17 : PositionIOStream(fFile)
18 , fFile(path, open_mode)
22 status_t
23 FileStream::InitCheck() const
25 status_t error = PositionIOStream::InitCheck();
26 if (!error)
27 error = fFile.InitCheck();
28 return error;