aboutsummaryrefslogtreecommitdiff
path: root/src/helper/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/fileio.c')
-rw-r--r--src/helper/fileio.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/helper/fileio.c b/src/helper/fileio.c
index 47494df..9dd57e7 100644
--- a/src/helper/fileio.c
+++ b/src/helper/fileio.c
@@ -153,6 +153,11 @@ int fileio_close(struct fileio *fileio)
return retval;
}
+int fileio_feof(struct fileio *fileio)
+{
+ return feof(fileio->file);
+}
+
int fileio_seek(struct fileio *fileio, size_t position)
{
int retval;