sprinkle __attribute__((__format__(printf..
This commit is contained in:
parent
fc37f15ca1
commit
42028367fb
|
@ -32,12 +32,14 @@ int xasprintf(char **, const char *, ...)
|
|||
__attribute__((__format__ (printf, 2, 3)))
|
||||
__attribute__((__nonnull__ (2)));
|
||||
int xvasprintf(char **, const char *, va_list)
|
||||
__attribute__((__format__ (printf, 2, 0)))
|
||||
__attribute__((__nonnull__ (2)));
|
||||
int xsnprintf(char *, size_t, const char *, ...)
|
||||
__attribute__((__format__ (printf, 3, 4)))
|
||||
__attribute__((__nonnull__ (3)))
|
||||
__attribute__((__bounded__ (__string__, 1, 2)));
|
||||
int xvsnprintf(char *, size_t, const char *, va_list)
|
||||
__attribute__((__format__ (printf, 3, 0)))
|
||||
__attribute__((__nonnull__ (3)))
|
||||
__attribute__((__bounded__ (__string__, 1, 2)));
|
||||
|
||||
|
|
Loading…
Reference in New Issue