OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [isoinfra/] [current/] [include/] [stdio.h] - Blame information for rev 811

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
#ifndef CYGONCE_ISO_STDIO_H
2
#define CYGONCE_ISO_STDIO_H
3
/*========================================================================
4
//
5
//      stdio.h
6
//
7
//      ISO standard I/O functions
8
//
9
//========================================================================
10
// ####ECOSGPLCOPYRIGHTBEGIN####
11
// -------------------------------------------
12
// This file is part of eCos, the Embedded Configurable Operating System.
13
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
14
//
15
// eCos is free software; you can redistribute it and/or modify it under
16
// the terms of the GNU General Public License as published by the Free
17
// Software Foundation; either version 2 or (at your option) any later
18
// version.
19
//
20
// eCos is distributed in the hope that it will be useful, but WITHOUT
21
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
22
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
23
// for more details.
24
//
25
// You should have received a copy of the GNU General Public License
26
// along with eCos; if not, write to the Free Software Foundation, Inc.,
27
// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
28
//
29
// As a special exception, if other files instantiate templates or use
30
// macros or inline functions from this file, or you compile this file
31
// and link it with other works to produce a work based on this file,
32
// this file does not by itself cause the resulting work to be covered by
33
// the GNU General Public License. However the source code for this file
34
// must still be made available in accordance with section (3) of the GNU
35
// General Public License v2.
36
//
37
// This exception does not invalidate any other reasons why a work based
38
// on this file might be covered by the GNU General Public License.
39
// -------------------------------------------
40
// ####ECOSGPLCOPYRIGHTEND####
41
//========================================================================
42
//#####DESCRIPTIONBEGIN####
43
//
44
// Author(s):     jlarmour
45
// Contributors:
46
// Date:          2000-04-14
47
// Purpose:       This file provides the stdio functions required by
48
//                ISO C and POSIX 1003.1.
49
// Description:   The real contents of this file get set from the
50
//                configuration (set by the implementation)
51
// Usage:         #include <stdio.h>
52
//
53
//####DESCRIPTIONEND####
54
//
55
//======================================================================
56
*/
57
 
58
/* CONFIGURATION */
59
 
60
#include <pkgconf/isoinfra.h>          /* Configuration header */
61
 
62
/* INCLUDES */
63
 
64
/* This is the "standard" way to get NULL and size_t from stddef.h,
65
 * which is the canonical location of the definitions.
66
 */
67
#define __need_NULL
68
#define __need_size_t
69
#include <stddef.h>
70
 
71
/*  Misc functions below use varargs stuff, so pull it in from the compiler
72
 *  here to save duplication.
73
 */
74
 
75
#define __need___va_list
76
#include <stdarg.h>
77
 
78
#ifdef CYGINT_ISO_STDIO_FILETYPES
79
# ifdef CYGBLD_ISO_STDIO_FILETYPES_HEADER
80
#  include CYGBLD_ISO_STDIO_FILETYPES_HEADER
81
# endif
82
#endif
83
 
84
#ifdef CYGINT_ISO_STDIO_STREAMS
85
# ifdef CYGBLD_ISO_STDIO_STREAMS_HEADER
86
#  include CYGBLD_ISO_STDIO_STREAMS_HEADER
87
# endif
88
#endif
89
 
90
#ifdef CYGINT_ISO_STDIO_FILEOPS
91
# ifdef CYGBLD_ISO_STDIO_FILEOPS_HEADER
92
#  include CYGBLD_ISO_STDIO_FILEOPS_HEADER
93
# endif
94
#endif
95
 
96
#ifdef CYGINT_ISO_STDIO_FILEACCESS
97
# ifdef CYGBLD_ISO_STDIO_FILEACCESS_HEADER
98
#  include CYGBLD_ISO_STDIO_FILEACCESS_HEADER
99
# endif
100
#endif
101
 
102
#ifdef CYGINT_ISO_STDIO_FORMATTED_IO
103
# ifdef CYGBLD_ISO_STDIO_FORMATTED_IO_HEADER
104
#  include CYGBLD_ISO_STDIO_FORMATTED_IO_HEADER
105
# endif
106
#endif
107
 
108
#ifdef CYGINT_ISO_STDIO_CHAR_IO
109
# ifdef CYGBLD_ISO_STDIO_CHAR_IO_HEADER
110
#  include CYGBLD_ISO_STDIO_CHAR_IO_HEADER
111
# endif
112
#endif
113
 
114
#ifdef CYGINT_ISO_STDIO_DIRECT_IO
115
# ifdef CYGBLD_ISO_STDIO_DIRECT_IO_HEADER
116
#  include CYGBLD_ISO_STDIO_DIRECT_IO_HEADER
117
# endif
118
#endif
119
 
120
#ifdef CYGINT_ISO_STDIO_FILEPOS
121
# ifdef CYGBLD_ISO_STDIO_FILEPOS_HEADER
122
#  include CYGBLD_ISO_STDIO_FILEPOS_HEADER
123
# endif
124
#endif
125
 
126
#ifdef CYGINT_ISO_STDIO_ERROR
127
# ifdef CYGBLD_ISO_STDIO_ERROR_HEADER
128
#  include CYGBLD_ISO_STDIO_ERROR_HEADER
129
# endif
130
#endif
131
 
132
#ifdef CYGINT_ISO_STDIO_POSIX_FDFUNCS
133
# ifdef CYGBLD_ISO_STDIO_POSIX_FDFUNCS_HEADER
134
#  include CYGBLD_ISO_STDIO_POSIX_FDFUNCS_HEADER
135
# else
136
 
137
#  ifdef __cplusplus
138
extern "C" {
139
#  endif
140
 
141
extern int
142
fileno( FILE *__stream ) __THROW;
143
 
144
extern FILE *
145
fdopen( int __fildes, const char *__type ) __THROW;
146
 
147
#  ifdef __cplusplus
148
} // extern "C"
149
#  endif
150
# endif
151
#endif
152
 
153
#endif /* CYGONCE_ISO_STDIO_H multiple inclusion protection */
154
 
155
/* EOF stdio.h */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.