_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <iolib.h>
Classes | |
| class | PImpl |
Public Member Functions | |
iolib.cpp - Compression-IO helper functions. | |
| CFile () | |
| ~CFile () | |
| int | open (const char *name, long flags) |
| int | close () |
| void | flush () |
| int | read (void *buf, size_t len) |
| int | seek (long offset, int whence) |
| long | tell () |
| int | printf (const char *format,...) PRINTF_VAARG_ATTRIBUTE(2 |
Defines a library file
| CFile::CFile | ( | ) |
| CFile::~CFile | ( | ) |
| int CFile::close | ( | ) |
CLclose Library file close
| void CFile::flush | ( | ) |
| int CFile::open | ( | const char * | name, |
| long | flags | ||
| ) |
CLopen Library file open
| name | File name. |
| openflags | Open read, or write and compression options |
| int CFile::printf | ( | const char * | format, |
| ... | |||
| ) |
CLprintf Library file write
| format | String Format. |
| ... | Parameter List. |
| int CFile::read | ( | void * | buf, |
| size_t | len | ||
| ) |
CLread Library file read
| buf | Pointer to read the data to. |
| len | number of bytes to read. |
| int CFile::seek | ( | long | offset, |
| int | whence | ||
| ) |
CLseek Library file seek
| offset | Seek position |
| whence | How to seek |
| long CFile::tell | ( | ) |
CLtell Library file tell
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.