|
Last change
on this file was
2,
checked in by phkim, 11 years ago
|
|
1.phkim
- revision copy newcon3sk r27
|
-
Property svn:executable set to
*
|
|
File size:
782 bytes
|
| Rev | Line | |
|---|
| [2] | 1 | #ifndef __STDIO_H__ |
|---|
| 2 | #define __STDIO_H__ |
|---|
| 3 | |
|---|
| 4 | #include "bstd.h" |
|---|
| 5 | |
|---|
| 6 | #define stderr 1 |
|---|
| 7 | typedef void *FILE; |
|---|
| 8 | int fprintf(int* f, const char *format, ...); |
|---|
| 9 | size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream); |
|---|
| 10 | size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream); |
|---|
| 11 | FILE *fopen(const char *path, const char *mode); |
|---|
| 12 | int fclose(FILE *stream); |
|---|
| 13 | int fseek(FILE *stream, long offset, int whence); |
|---|
| 14 | long ftell(FILE *stream); |
|---|
| 15 | int fflush(FILE *stream); |
|---|
| 16 | #ifndef SEEK_SET |
|---|
| 17 | # define SEEK_SET 0 /* Seek from beginning of file. */ |
|---|
| 18 | #endif |
|---|
| 19 | #ifndef SEEK_CUR |
|---|
| 20 | # define SEEK_CUR 1 /* Seek from current position. */ |
|---|
| 21 | #endif |
|---|
| 22 | #ifndef SEEK_END |
|---|
| 23 | # define SEEK_END 2 /* Set file pointer to EOF plus "offset" */ |
|---|
| 24 | #endif |
|---|
| 25 | #endif /* __STDIO_H__ */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.