Make snprintf(3) and vscanf(3) definitions available under appropriate
POSIX visibility. Reported by: jbeich Reviewed by: jilles PR: 207287 MFC after: 1 week
This commit is contained in:
parent
752098d2d5
commit
59c839996a
@ -294,14 +294,16 @@ int vprintf(const char * __restrict, __va_list);
|
||||
int vsprintf(char * __restrict, const char * __restrict,
|
||||
__va_list);
|
||||
|
||||
#if __ISO_C_VISIBLE >= 1999
|
||||
#if __ISO_C_VISIBLE >= 1999 || __POSIX_VISIBLE >= 199506
|
||||
int snprintf(char * __restrict, size_t, const char * __restrict,
|
||||
...) __printflike(3, 4);
|
||||
int vsnprintf(char * __restrict, size_t, const char * __restrict,
|
||||
__va_list) __printflike(3, 0);
|
||||
#endif
|
||||
#if __ISO_C_VISIBLE >= 1999
|
||||
int vfscanf(FILE * __restrict, const char * __restrict, __va_list)
|
||||
__scanflike(2, 0);
|
||||
int vscanf(const char * __restrict, __va_list) __scanflike(1, 0);
|
||||
int vsnprintf(char * __restrict, size_t, const char * __restrict,
|
||||
__va_list) __printflike(3, 0);
|
||||
int vsscanf(const char * __restrict, const char * __restrict, __va_list)
|
||||
__scanflike(2, 0);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user