Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4973 | right-hear | 1 | /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ |
2 | #ifndef __dj_include_libc_local_h__ |
||
3 | #define __dj_include_libc_local_h__ |
||
4 | |||
5 | #ifdef __cplusplus |
||
6 | extern "C" { |
||
7 | #endif |
||
8 | |||
9 | #ifndef __dj_ENFORCE_ANSI_FREESTANDING |
||
10 | |||
11 | #ifndef __STRICT_ANSI__ |
||
12 | |||
13 | #ifndef _POSIX_SOURCE |
||
14 | |||
15 | FILE * __alloc_file(void); |
||
16 | |||
17 | /* A FILE* is considered "free" if its flag is zero. */ |
||
18 | |||
19 | #define __FILE_REC_MAX 20 |
||
20 | typedef struct __file_rec { |
||
21 | struct __file_rec *next; |
||
22 | int count; |
||
23 | FILE *files[__FILE_REC_MAX]; |
||
24 | } __file_rec; |
||
25 | |||
26 | extern __file_rec *__file_rec_list; |
||
27 | |||
28 | #endif /* !_POSIX_SOURCE */ |
||
29 | #endif /* !__STRICT_ANSI__ */ |
||
30 | #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */ |
||
31 | |||
32 | #ifndef __dj_ENFORCE_FUNCTION_CALLS |
||
33 | #endif /* !__dj_ENFORCE_FUNCTION_CALLS */ |
||
34 | |||
35 | #ifdef __cplusplus |
||
36 | } |
||
37 | #endif |
||
38 | |||
39 | #endif /* __dj_include_libc_local_h__ */ |