forked from KolibriOS/kolibrios
add menuetlibc sources
git-svn-id: svn://kolibrios.org@1882 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
39
programs/develop/libraries/menuetlibc/include/libc/local.h
Executable file
39
programs/develop/libraries/menuetlibc/include/libc/local.h
Executable file
@@ -0,0 +1,39 @@
|
||||
/* 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__ */
|
Reference in New Issue
Block a user