AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
helpers.c
Go to the documentation of this file.
1
7
8#include <fs/posix.h>
9
18{
19 return (size_t) file->offset >= file->vnode->size;
20}
int posix_file_eof(struct file *file)
Says whether a file's offset is at or past its end, so that a read returns nothing.
Definition helpers.c:17
An open file (POSIX's "open file description", fs/file.c).
Definition vfs.h:157
off_t offset
Definition vfs.h:163