diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-04-15 22:33:43 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-05-05 21:46:30 +0200 |
| commit | 85207b59bd065b5fd8d1c7c0302e153dcd941554 (patch) | |
| tree | 36c50830c7689b38ffc1bd512da1ae1a33caf925 /src/file.h | |
| parent | 22781828732837911d0dc9b60acdac7e98e673c8 (diff) | |
Add ::tell().
Diffstat (limited to 'src/file.h')
| -rw-r--r-- | src/file.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -73,6 +73,10 @@ public: char *gets(char *s, int size); /** fseek/fseeki64 wrapper */ int seek(int64_t offset, int whence); + /** ftell/ftelli64 wrapper */ + int64_t tell(); + /** ferror wrapper */ + int error(); void checked_write(void const * ptr, size_t size); void checked_read(void* ptr, size_t size); |
