Must call pmemInit() before using this module. If threads are to be used, ptrdInit() must be called before using this module as well.
NOTE: It is technically impossible to provide a cross-platform version of scanf() and its variants (since vscanf() does not exist). As a result, this module does not provide this functionality. End-users are encourages to do their own parsing.
| Defines | |
| #define | USE_LIGHT_WEIGHT_PANSI_FILE_WRAPPERS 1 | 
| #define | PEOF EOF | 
| Typedefs | |
| typedef FILE | PFile | 
| Functions | |
| PORTABLE_API PFile * | pfopen (const LCHAR *filename, const LCHAR *mode) | 
| PORTABLE_API size_t | pfread (void *buffer, size_t size, size_t count, PFile *stream) | 
| PORTABLE_API size_t | pfwrite (void *buffer, size_t size, size_t count, PFile *stream) | 
| PORTABLE_API int | pfclose (PFile *stream) | 
| PORTABLE_API void | prewind (PFile *stream) | 
| PORTABLE_API int | pfseek (PFile *stream, long offset, int origin) | 
| PORTABLE_API long | pftell (PFile *stream) | 
| PORTABLE_API LCHAR * | pfgets (LCHAR *string, int n, PFile *stream) | 
| PORTABLE_API int | pfeof (PFile *stream) | 
| PORTABLE_API int | pferror (PFile *stream) | 
| PORTABLE_API void | pclearerr (PFile *stream) | 
| PORTABLE_API LINT | pfgetc (PFile *stream) | 
| PORTABLE_API int | pfflush (PFile *stream) | 
| PORTABLE_API int | pvfprintf (PFile *stream, const LCHAR *format, va_list args) | 
| PORTABLE_API int | pfprintf (PFile *stream, const LCHAR *format,...) | 
| PORTABLE_API ESR_ReturnCode | pf_convert_backslashes_to_forwardslashes (LCHAR *string_to_convert) | 
| PORTABLE_API ESR_ReturnCode | pf_is_path_absolute (const LCHAR *input_path, ESR_BOOL *isAbsolute) | 
| PORTABLE_API ESR_ReturnCode | pf_make_dir (const LCHAR *path) | 
| PORTABLE_API ESR_ReturnCode | pf_get_cwd (LCHAR *path, size_t *len) | 
| PORTABLE_API ESR_ReturnCode | pf_change_dir (const LCHAR *path) | 
| #define PEOF EOF | 
Portable EOF constant
| typedef FILE PFile | 
Portable file.
| PORTABLE_API void pclearerr | ( | PFile * | stream | ) | 
Backwards compatible clearerr().
| stream | See clearerr() | 
| PORTABLE_API ESR_ReturnCode pf_convert_backslashes_to_forwardslashes | ( | LCHAR * | string_to_convert | ) | 
Backwards compatible printf().
| format | See printf() | 
| PORTABLE_API int pfclose | ( | PFile * | stream | ) | 
Backwards compatible fclose().
| stream | See fclose() | 
| PORTABLE_API int pfeof | ( | PFile * | stream | ) | 
Backwards compatible feof().
| stream | See feof() | 
| PORTABLE_API int pferror | ( | PFile * | stream | ) | 
Backwards compatible ferror().
| stream | See ferror() | 
| PORTABLE_API int pfflush | ( | PFile * | stream | ) | 
Backwards compatible fflush().
| stream | See fflush() | 
Backwards compatible fgetc().
| stream | See clearerr() | 
Backwards compatible fgets().
| string | See fgets() | |
| n | See fgets() | |
| stream | See fgets() | 
Backwards compatible fopen().
| filename | See fopen() | |
| mode | See fopen() | 
Backwards compatible fprintf().
| stream | See fprintf() | |
| format | See fprintf() | 
| PORTABLE_API size_t pfread | ( | void * | buffer, | |
| size_t | size, | |||
| size_t | count, | |||
| PFile * | stream | |||
| ) | 
Backwards compatible fread().
| buffer | See fread() | |
| size | See fread() | |
| count | See fread() | |
| stream | See fread() | 
| PORTABLE_API int pfseek | ( | PFile * | stream, | |
| long | offset, | |||
| int | origin | |||
| ) | 
Backwards compatible fseek().
| stream | See fseek() | |
| offset | See fseek() | |
| origin | See fseek() | 
| PORTABLE_API long pftell | ( | PFile * | stream | ) | 
Backwards compatible ftell().
| stream | See ftell() | 
| PORTABLE_API size_t pfwrite | ( | void * | buffer, | |
| size_t | size, | |||
| size_t | count, | |||
| PFile * | stream | |||
| ) | 
Backwards compatible fwrite().
| buffer | See fwrite() | |
| size | See fwrite() | |
| count | See fwrite() | |
| stream | See fwrite() | 
| PORTABLE_API void prewind | ( | PFile * | stream | ) | 
Backwards compatible rewind()
| stream | See rewind() | 
Backwards compatible vfprintf().
| stream | See vfprintf() | |
| format | See vfprintf() | |
| args | See vfprintf() | 
 1.5.3
 1.5.3