Lines Matching refs:PFile
2 * PFile.c *
22 #include "PFile.h"
28 ESR_ReturnCode PFileDestroy(PFile* self)
38 ESR_ReturnCode PFileOpen(PFile* self, const LCHAR* mode)
48 ESR_ReturnCode PFileClose(PFile* self)
58 ESR_ReturnCode PFileRead(PFile* self, void* buffer, size_t size, size_t* count)
68 ESR_ReturnCode PFileWrite(PFile* self, void* buffer, size_t size, size_t* count)
78 ESR_ReturnCode PFileFlush(PFile* self)
88 ESR_ReturnCode PFileSeek(PFile* self, long offset, int origin)
99 ESR_ReturnCode PFileGetPosition(PFile* self, size_t* position)
109 ESR_ReturnCode PFileIsOpen(PFile* self, ESR_BOOL* isOpen)
119 ESR_ReturnCode PFileIsEOF(PFile* self, ESR_BOOL* isEof)
129 ESR_ReturnCode PFileGetFilename(PFile* self, LCHAR* filename, size_t* len)
142 ESR_ReturnCode PFileIsErrorSet(PFile* self, ESR_BOOL* isError)
152 ESR_ReturnCode PFileClearError(PFile* self)
162 ESR_ReturnCode PFileVfprintf(PFile* self, int* result, const LCHAR* format, va_list args)
175 ESR_ReturnCode PFileFgetc(PFile* self, LINT* result)
185 ESR_ReturnCode PFileFgets(PFile* self, LCHAR* string, int n, LCHAR** result)
195 ESR_ReturnCode PFileReadInt(PFile* self, int* value)
270 ESR_ReturnCode PFileReadLCHAR(PFile* self, LCHAR* value, size_t len)
335 PFile* pfopen(const LCHAR* filename, const LCHAR* mode)
337 PFile* result;
359 size_t pfread(void* buffer, size_t size, size_t count, PFile* stream)
369 size_t pfwrite(const void* buffer, size_t size, size_t count, PFile* stream)
379 int pfclose(PFile* stream)
389 void prewind(PFile* stream)
394 int pfseek(PFile* stream, long offset, int origin)
404 long pftell(PFile* stream)
415 int pfeof(PFile* stream)
425 int pferror(PFile* stream)
435 void pclearerr(PFile* stream)
440 int pfflush(PFile* stream)
450 LCHAR* pfgets(LCHAR* string, int n, PFile* self)
461 LINT pfgetc(PFile* self)
472 int pfprintf(PFile* stream, const LCHAR* format, ...)
490 int pvfprintf(PFile* stream, const LCHAR* format, va_list argptr)