From dc773f95605eab966c1083ec0c4b7e3dcd037e26 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Fri, 17 Jan 2014 20:11:06 +0900 Subject: [PATCH] decl indicator positioning functions --- include/picrin/port.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/picrin/port.h b/include/picrin/port.h index 8c78c707..d1f1f66c 100644 --- a/include/picrin/port.h +++ b/include/picrin/port.h @@ -75,6 +75,11 @@ int pic_fclose(pic_file *); size_t pic_fread(void *, size_t, size_t, pic_file *); size_t pic_fwrite(const void *, size_t, size_t, pic_file *); +/* indicator positioning */ +long pic_fseek(pic_file *, long offset, int whence); +long pic_ftell(pic_file *); +void pic_rewind(pic_file *); + /* character IO */ int pic_fgetc(pic_file *); int pic_ungetc(int, pic_file *);