Mercurial > hg > CbC > old > device
diff stdio.h @ 19:b62230ea38f6
ifdef debug
author | kono |
---|---|
date | Mon, 03 Feb 2003 17:27:05 +0900 |
parents | df7fa8cee67b |
children | 8d3db5fc8a97 |
line wrap: on
line diff
--- a/stdio.h Sat Feb 01 22:19:29 2003 +0900 +++ b/stdio.h Mon Feb 03 17:27:05 2003 +0900 @@ -1,4 +1,6 @@ -/* #define const */ +#ifdef __micro_c__ +#define const +#endif typedef struct { /* this is all wrong, but so what? */ @@ -21,6 +23,7 @@ #define stdout (&__sstdout) #define stderr (&__sstderr) #endif + #define BUFSIZ 1024 /* size of buffer used by setbuf */ #define EOF (-1) #define NULL 0 @@ -38,13 +41,16 @@ int fgetpos(FILE *, fpos_t *); int fileno(FILE *); void flockfile(); + int fprintf(FILE *, const char *, ...); int fpurge(); int fputc(int, FILE *); int fputs(const char *, FILE *); size_t fread(void *, size_t, size_t, FILE *); int fscanf(FILE *, const char *, ...); + /* int fseek(FILE *, long int, int); */ + int fsetpos(FILE *, const fpos_t *); long ftell(FILE *); int ftrylockfile();