diff options
author | andrew <andrew@FreeBSD.org> | 2013-01-18 20:06:45 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2013-01-18 20:06:45 +0000 |
commit | 254a83b703ce3576b1aea35fdd5308aaf1d05f4b (patch) | |
tree | b946f82269be87d83f086167c762c362e734c5bb /SDKs/linux/usr/include | |
parent | cfeab007a554034f0b3ab4a677cf9dd2696c12f9 (diff) | |
download | FreeBSD-src-254a83b703ce3576b1aea35fdd5308aaf1d05f4b.zip FreeBSD-src-254a83b703ce3576b1aea35fdd5308aaf1d05f4b.tar.gz |
Import compiler-rt r172839.
Diffstat (limited to 'SDKs/linux/usr/include')
-rw-r--r-- | SDKs/linux/usr/include/stdio.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/SDKs/linux/usr/include/stdio.h b/SDKs/linux/usr/include/stdio.h index ddfe755..7c258d2 100644 --- a/SDKs/linux/usr/include/stdio.h +++ b/SDKs/linux/usr/include/stdio.h @@ -26,10 +26,17 @@ extern struct _IO_FILE *stdin; extern struct _IO_FILE *stdout; extern struct _IO_FILE *stderr; +#define SEEK_SET 0 /* set file offset to offset */ +#define SEEK_CUR 1 /* set file offset to current plus offset */ +#define SEEK_END 2 /* set file offset to EOF plus offset */ + extern int fclose(FILE *); extern int fflush(FILE *); extern FILE *fopen(const char * restrict, const char * restrict); extern int fprintf(FILE * restrict, const char * restrict, ...); extern size_t fwrite(const void * restrict, size_t, size_t, FILE * restrict); +extern size_t fread(void * restrict, size_t, size_t, FILE * restrict); +extern long ftell(FILE *); +extern int fseek(FILE *, long, int); #endif /* __STDIO_H__ */ |