blob: dd65f66aba6f9697eb5cb06844880bba6a898f81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#include <stdio.h>
/** write formatted output **/
int vprintf_s(const char * restrict format, va_list arg)
{
__C_EXT(1, 201112L);
return vfprintf(stdout, format, arg);
}
/***
The fn(vprintf) function is equivalent to fn(printf), but with a type(va_list)
argument instead of variadic arguments. The argument arg(arg) must be
initialized with fnmacro(va_start) prior to calling fn(vprintf). The
fn(vprintf) function does not call fnmacro(va_end), so the calling function is
responsible for this.
***/
/* UNSPECIFIED: ??? */
/* UNDEFINED: ??? */
/* IMPLEMENTATION: ??? */
/* LOCALE: ??? */
/* RETURN(NEG): an error occurred */
/* RETURN: the number of characters written */
/*
CEXT1(201112)
*/
|