X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2Finclude%2Fstdio.h;h=8d950656c3ce40bec2d491fb8ac8e6ef4d771ac0;hb=032ec5adf8d4faeaa9293da50ad2e32c83dd1704;hp=552cd4f999d6432590f43767e430bb65985bb66e;hpb=6c7e82169e66197939b83945812b02787ed0f52e;p=tpg%2Facess2.git diff --git a/Usermode/include/stdio.h b/Usermode/include/stdio.h index 552cd4f9..8d950656 100644 --- a/Usermode/include/stdio.h +++ b/Usermode/include/stdio.h @@ -8,13 +8,13 @@ #include #include -// === Types === +/* === Types === */ typedef struct sFILE FILE; -// === CONSTANTS === +/* === CONSTANTS === */ #define EOF (-1) -// --- Standard IO --- +/* --- Standard IO --- */ extern int printf(const char *format, ...); extern int vsnprintf(char *buf, size_t __maxlen, const char *format, va_list args); extern int vsprintf(char *buf, const char *format, va_list args); @@ -26,7 +26,7 @@ extern FILE *freopen(const char *file, const char *mode, FILE *fp); extern FILE *fdopen(int fd, const char *modes); extern int fclose(FILE *fp); extern void fflush(FILE *fp); -extern long int ftell(FILE *fp); +extern off_t ftell(FILE *fp); extern int fseek(FILE *fp, long int amt, int whence); extern size_t fread(void *buf, size_t size, size_t n, FILE *fp);