7.19.6.3 The printf function

Synopsis

1

#include <stdio.h>
int printf(const char * restrict format, ...);

Description

2

The printf function is equivalent to fprintf with the argument stdout interposed before the arguments to printf.

Returns

3

The printf function returns the number of characters transmitted, or a negative value if an output or encoding error occurred.