summaryrefslogtreecommitdiff
path: root/src/user/lib/include
diff options
context:
space:
mode:
authordzwdz2022-08-05 19:54:22 +0200
committerdzwdz2022-08-05 19:54:22 +0200
commit4fcff0ecc6f94dbc079f29b9636d810a16ef2ed7 (patch)
tree1ae354131b7bffd2b3f7a671f78cd31371b261c8 /src/user/lib/include
parent99e15199ef24d4f262683b47a529f1b239c4dcd9 (diff)
user/libc: fseek + ftell for getting a file's size
Diffstat (limited to 'src/user/lib/include')
-rw-r--r--src/user/lib/include/stdio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/user/lib/include/stdio.h b/src/user/lib/include/stdio.h
index 74c5230..063c81f 100644
--- a/src/user/lib/include/stdio.h
+++ b/src/user/lib/include/stdio.h
@@ -33,6 +33,7 @@ size_t fread(void *restrict ptr, size_t size, size_t nitems, FILE *restrict);
size_t fwrite(const void *restrict ptr, size_t size, size_t nitems, FILE *restrict);
char *fgets(char *buf, int size, FILE *f);
int fseek(FILE *f, long offset, int whence);
+long ftell(FILE *f);
int feof(FILE *);
int ferror(FILE *);