version 1.65, 2006/10/27 20:03:21 |
version 1.69, 2007/05/30 21:14:37 |
|
|
#define __SOFF 0x1000 /* set iff _offset is in fact correct */ |
#define __SOFF 0x1000 /* set iff _offset is in fact correct */ |
#define __SMOD 0x2000 /* true => fgetln modified _p text */ |
#define __SMOD 0x2000 /* true => fgetln modified _p text */ |
#define __SALC 0x4000 /* allocate string space dynamically */ |
#define __SALC 0x4000 /* allocate string space dynamically */ |
#define __SAFE 0x8000 /* don't call signal-unsafe functions */ |
|
|
|
/* |
/* |
* The following three definitions are for ANSI C, which took them |
* The following three definitions are for ANSI C, which took them |
|
|
/* |
/* |
* Functions defined in ISO XPG4.2, ISO C99, POSIX 1003.1-2001 or later. |
* Functions defined in ISO XPG4.2, ISO C99, POSIX 1003.1-2001 or later. |
*/ |
*/ |
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \ |
#if ((__STDC_VERSION__ - 0) >= 199901L) || \ |
!defined(_XOPEN_SOURCE) || \ |
|
((__STDC_VERSION__ - 0) >= 199901L) || \ |
|
((_POSIX_C_SOURCE - 0) >= 200112L) || \ |
((_POSIX_C_SOURCE - 0) >= 200112L) || \ |
(defined(_XOPEN_SOURCE) && defined(_XOPEN_SOURCE_EXTENDED)) || \ |
(defined(_XOPEN_SOURCE) && defined(_XOPEN_SOURCE_EXTENDED)) || \ |
((_XOPEN_SOURCE - 0) >= 500) || \ |
((_XOPEN_SOURCE - 0) >= 500) || \ |
Line 331 int vsnprintf(char * __restrict, size_t |
|
Line 328 int vsnprintf(char * __restrict, size_t |
|
__attribute__((__format__(__printf__, 3, 0))); |
__attribute__((__format__(__printf__, 3, 0))); |
__END_DECLS |
__END_DECLS |
#endif |
#endif |
#ifdef _NETBSD_SOURCE |
|
int snprintf_ss(char * __restrict, size_t, const char * __restrict, ...) |
|
__attribute__((__format__(__printf__, 3, 4))); |
|
int vsnprintf_ss(char * __restrict, size_t, const char * __restrict, |
|
_BSD_VA_LIST_) |
|
__attribute__((__format__(__printf__, 3, 0))); |
|
#endif |
|
|
|
/* |
/* |
* Functions defined in XPG4.2. |
* Functions defined in XPG4.2. |
Line 486 static __inline int __sputc(int _c, FILE |
|
Line 476 static __inline int __sputc(int _c, FILE |
|
#define putchar_unlocked(x) putc_unlocked(x, stdout) |
#define putchar_unlocked(x) putc_unlocked(x, stdout) |
#endif /* _POSIX_C_SOURCE >= 199506 || _XOPEN_SOURCE >= 500 || _REENTRANT... */ |
#endif /* _POSIX_C_SOURCE >= 199506 || _XOPEN_SOURCE >= 500 || _REENTRANT... */ |
|
|
|
#include <ssp/stdio.h> |
|
|
#endif /* _STDIO_H_ */ |
#endif /* _STDIO_H_ */ |