1.23
2.0
acw/focus-triggers
main
test-branch
| Line | |
|---|
| 1 | /* stdio.h: The CIVL representation of standard C library stdio.
|
|---|
| 2 | * Based on C11 Standard.
|
|---|
| 3 | */
|
|---|
| 4 | #ifdef __STDIO__
|
|---|
| 5 | #else
|
|---|
| 6 | #define __STDIO__
|
|---|
| 7 |
|
|---|
| 8 | /* Needed from stdarg.h: */
|
|---|
| 9 |
|
|---|
| 10 | typedef struct _ABC_va_list {
|
|---|
| 11 | int x;
|
|---|
| 12 | } va_list;
|
|---|
| 13 |
|
|---|
| 14 | /* Types */
|
|---|
| 15 |
|
|---|
| 16 | typedef unsigned long int size_t;
|
|---|
| 17 |
|
|---|
| 18 | typedef struct FILE FILE;
|
|---|
| 19 |
|
|---|
| 20 | typedef int fpos_t;
|
|---|
| 21 |
|
|---|
| 22 | /* Macros */
|
|---|
| 23 |
|
|---|
| 24 | #define NULL ((void*)0)
|
|---|
| 25 | #define _IOFBF 1
|
|---|
| 26 | #define _IOLBF 2
|
|---|
| 27 | #define _IONBF 3
|
|---|
| 28 | #define BUFSIZ 100
|
|---|
| 29 | #define EOF (-100)
|
|---|
| 30 | #define FOPEN_MAX 100
|
|---|
| 31 | #define FILENAME_MAX 500
|
|---|
| 32 | #define L_tmpnam 500
|
|---|
| 33 | #define SEEK_CUR 1
|
|---|
| 34 | #define SEEK_END 2
|
|---|
| 35 | #define SEEK_SET 3
|
|---|
| 36 | #define TMP_MAX 100
|
|---|
| 37 | #define stdin (FILE*)0
|
|---|
| 38 | #define stdout (FILE*)1
|
|---|
| 39 | #define stderr (FILE*)2
|
|---|
| 40 |
|
|---|
| 41 | /* Function Prototypes */
|
|---|
| 42 |
|
|---|
| 43 | #include<stdio-common.h>
|
|---|
| 44 |
|
|---|
| 45 | #endif
|
|---|
| 46 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.