Subversion Repositories Kolibri OS

Rev

Rev 4874 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4874 Rev 4921
Line 102... Line 102...
102
struct stat;
102
struct stat;
103
struct tms;
103
struct tms;
104
struct timeval;
104
struct timeval;
105
struct timezone;
105
struct timezone;
Line 106... Line -...
106
 
-
 
107
typedef struct
-
 
108
{
-
 
109
  char     *name;
-
 
110
  unsigned int offset;
-
 
111
  int (*write)(const char*, const void *, size_t, size_t, size_t*);
-
 
112
}__file_handle;
-
 
113
 
-
 
114
 
106
 
Line 115... Line 107...
115
#if defined(REENTRANT_SYSCALLS_PROVIDED) && defined(MISSING_SYSCALL_NAMES)
107
#if defined(REENTRANT_SYSCALLS_PROVIDED) && defined(MISSING_SYSCALL_NAMES)
116
 
108
 
117
#define _close_r(__reent, __fd)                   close(__fd)
109
#define _close_r(__reent, __fd)                   close(__fd)
Line 177... Line 169...
177
/* This one is not guaranteed to be available on all targets.  */
169
/* This one is not guaranteed to be available on all targets.  */
178
extern int _gettimeofday_r _PARAMS ((struct _reent *, struct timeval *__tp, void *__tzp));
170
extern int _gettimeofday_r _PARAMS ((struct _reent *, struct timeval *__tp, void *__tzp));
Line 179... Line 171...
179
 
171
 
Line 180... Line -...
180
#ifdef __LARGE64_FILES
-
 
181
 
-
 
182
#if defined(__CYGWIN__) && defined(_COMPILING_NEWLIB)
-
 
Line -... Line 172...
-
 
172
#ifdef __LARGE64_FILES
-
 
173
 
-
 
174
 
183
#define stat64 __stat64
175
#if defined(__CYGWIN__)
Line 184... Line 176...
184
#endif
176
#define stat64 stat
185
 
177
#endif
186
struct stat64;
178
struct stat64;
187
 
179
 
-
 
180
extern _off64_t _lseek64_r _PARAMS ((struct _reent *, int, _off64_t, int));
-
 
181
extern int _fstat64_r _PARAMS ((struct _reent *, int, struct stat64 *));
-
 
182
extern int _open64_r _PARAMS ((struct _reent *, const char *, int, int));
-
 
183
extern int _stat64_r _PARAMS ((struct _reent *, const char *, struct stat64 *));
-
 
184
 
-
 
185
/* Don't pollute namespace if not building newlib. */
188
extern _off64_t _lseek64_r _PARAMS ((struct _reent *, int, _off64_t, int));
186
#if defined (__CYGWIN__) && !defined (_COMPILING_NEWLIB)
Line 189... Line 187...
189
extern int _fstat64_r _PARAMS ((struct _reent *, int, struct stat64 *));
187
#undef stat64
Line 190... Line 188...
190
extern int _open64_r _PARAMS ((struct _reent *, const char *, int, int));
188
#endif