|
Laxkit
0.0.7.1
|
Class that lets you output or input to a disk file or a string. More...
Public Member Functions | |
| int | printf (const char *fmt,...) |
| size_t | write (const void *ptr, size_t size, size_t nmemb) |
| size_t | fread (void *ptr, size_t size, size_t nmemb) |
| int | getline (char **lineptr, size_t *n) |
| int | setpos (long offset, int whence=0) |
| long | curpos () |
| void | rewind () |
| void | clearerr () |
| int | feof () |
| const char * | Filename () |
| int | Open (const char *filename, const char *mode) |
| int | Close () |
| int | OpenTempFile () |
| int | OpenCString (const char *str) |
| int | OpenInString (char *str, long nn, long nmax) |
| int | OpenNewString (const char *str) |
| int | SaveStrToFile (const char *filename) |
| int | GetStrFromFile (const char *filename) |
Protected Attributes | |
| char * | str |
| const char * | cstr |
| long | n |
| long | max |
| char * | filename |
| FILE * | f |
| int | errorstate |
| long | curpos |
Class that lets you output or input to a disk file or a string.