forked from KolibriOS/kolibrios
40 lines
780 B
C
40 lines
780 B
C
|
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
||
|
#ifndef __dj_include_libc_local_h__
|
||
|
#define __dj_include_libc_local_h__
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#ifndef __dj_ENFORCE_ANSI_FREESTANDING
|
||
|
|
||
|
#ifndef __STRICT_ANSI__
|
||
|
|
||
|
#ifndef _POSIX_SOURCE
|
||
|
|
||
|
FILE * __alloc_file(void);
|
||
|
|
||
|
/* A FILE* is considered "free" if its flag is zero. */
|
||
|
|
||
|
#define __FILE_REC_MAX 20
|
||
|
typedef struct __file_rec {
|
||
|
struct __file_rec *next;
|
||
|
int count;
|
||
|
FILE *files[__FILE_REC_MAX];
|
||
|
} __file_rec;
|
||
|
|
||
|
extern __file_rec *__file_rec_list;
|
||
|
|
||
|
#endif /* !_POSIX_SOURCE */
|
||
|
#endif /* !__STRICT_ANSI__ */
|
||
|
#endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
|
||
|
|
||
|
#ifndef __dj_ENFORCE_FUNCTION_CALLS
|
||
|
#endif /* !__dj_ENFORCE_FUNCTION_CALLS */
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* __dj_include_libc_local_h__ */
|