Subversion Repositories Kolibri OS

Rev

Rev 6536 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6536 Rev 6627
Line 149... Line 149...
149
extern int    _EXFUN(__ssvfiscanf_r,(struct _reent *,FILE *, _CONST char *,va_list));
149
extern int    _EXFUN(__ssvfiscanf_r,(struct _reent *,FILE *, _CONST char *,va_list));
150
extern int    _EXFUN(__svfwscanf_r,(struct _reent *,FILE *, _CONST wchar_t *,va_list));
150
extern int    _EXFUN(__svfwscanf_r,(struct _reent *,FILE *, _CONST wchar_t *,va_list));
151
extern int    _EXFUN(__ssvfwscanf_r,(struct _reent *,FILE *, _CONST wchar_t *,va_list));
151
extern int    _EXFUN(__ssvfwscanf_r,(struct _reent *,FILE *, _CONST wchar_t *,va_list));
152
extern int    _EXFUN(__svfiwscanf_r,(struct _reent *,FILE *, _CONST wchar_t *,va_list));
152
extern int    _EXFUN(__svfiwscanf_r,(struct _reent *,FILE *, _CONST wchar_t *,va_list));
153
extern int    _EXFUN(__ssvfiwscanf_r,(struct _reent *,FILE *, _CONST wchar_t *,va_list));
153
extern int    _EXFUN(__ssvfiwscanf_r,(struct _reent *,FILE *, _CONST wchar_t *,va_list));
154
int	      _EXFUN(_svfprintf_r,(struct _reent *, FILE *, const char *, 
154
int	      _EXFUN(_svfprintf_r,(struct _reent *, FILE *, const char *,
155
				  va_list)
155
				  va_list)
156
               			_ATTRIBUTE ((__format__ (__printf__, 3, 0))));
156
               			_ATTRIBUTE ((__format__ (__printf__, 3, 0))));
157
int	      _EXFUN(_svfiprintf_r,(struct _reent *, FILE *, const char *, 
157
int	      _EXFUN(_svfiprintf_r,(struct _reent *, FILE *, const char *,
158
				  va_list)
158
				  va_list)
159
               			_ATTRIBUTE ((__format__ (__printf__, 3, 0))));
159
               			_ATTRIBUTE ((__format__ (__printf__, 3, 0))));
160
int	      _EXFUN(_svfwprintf_r,(struct _reent *, FILE *, const wchar_t *, 
160
int	      _EXFUN(_svfwprintf_r,(struct _reent *, FILE *, const wchar_t *,
161
				  va_list));
161
				  va_list));
162
int	      _EXFUN(_svfiwprintf_r,(struct _reent *, FILE *, const wchar_t *, 
162
int	      _EXFUN(_svfiwprintf_r,(struct _reent *, FILE *, const wchar_t *,
163
				  va_list));
163
				  va_list));
164
extern FILE  *_EXFUN(__sfp,(struct _reent *));
164
extern FILE  *_EXFUN(__sfp,(struct _reent *));
165
extern int    _EXFUN(__sflags,(struct _reent *,_CONST char*, int*));
165
extern int    _EXFUN(__sflags,(struct _reent *,_CONST char*, int*));
166
extern int    _EXFUN(__sflush_r,(struct _reent *,FILE *));
166
extern int    _EXFUN(__sflush_r,(struct _reent *,FILE *));
167
#ifdef _STDIO_BSD_SEMANTICS
167
#ifdef _STDIO_BSD_SEMANTICS
Line 261... Line 261...
261
 * orientation. If o < 0, the stream has byte-orientation.
261
 * orientation. If o < 0, the stream has byte-orientation.
262
 */
262
 */
263
#define ORIENT(fp,ori)					\
263
#define ORIENT(fp,ori)					\
264
  do								\
264
  do								\
265
    {								\
265
    {								\
266
      if (!((fp)->_flags & __SORD))	\
-
 
267
	{							\
-
 
268
	  (fp)->_flags |= __SORD;				\
266
	  (fp)->_flags |= __SORD;				\
269
	  if (ori > 0)						\
267
	  if (ori > 0)						\
270
	    (fp)->_flags2 |= __SWID;				\
268
	    (fp)->_flags2 |= __SWID;				\
271
	  else							\
269
	  else							\
272
	    (fp)->_flags2 &= ~__SWID;				\
270
	    (fp)->_flags2 &= ~__SWID;				\
273
	}							\
-
 
274
    }								\
271
    }								\
275
  while (0)
272
  while (0)
276
#else
273
#else
277
#define ORIENT(fp,ori)
274
#define ORIENT(fp,ori)
278
#endif
275
#endif