safec 3.7.0
Safe C Library - ISO TR24731 Bounds Checking Interface
|
#include "safe_lib.h"
Functions | |
EXPORT int | vprintf_s (const char *restrict fmt, va_list ap) |
The vprintf_s function composes a string via the format string and writes it to a FILE buffer. | |
EXPORT int vprintf_s | ( | const char *restrict | fmt, |
va_list | ap | ||
) |
The vprintf_s function composes a string via the format string and writes it to a FILE buffer.
errno
is set on error. However, the safeclib extended ES*
errors do not set errno
, only when the underlying system vprintf
call fails, errno
is set.[in] | fmt | format-control string |
[in] | ap | optional arguments |
-ESNULLP | when fmt is NULL pointer |
-EINVAL | when fmt contains n |
-1 | on some other error. errno is set then. |