Difference between revisions of "GDN:printf"

From LibrePlanet
Jump to: navigation, search
(Created page with "{{Infobox Function | header = stdio.h | since = C90 }} The printf function prints the optional arguments under the control of the template string template to the stre...")
 
Line 7: Line 7:
  
 
The printf function prints the optional arguments under the control of the template string template to the stream stdout. It returns the number of characters printed, or a negative value if there was an output error.
 
The printf function prints the optional arguments under the control of the template string template to the stream stdout. It returns the number of characters printed, or a negative value if there was an output error.
 +
 +
__TOC__
 +
 +
==Prototype==
 +
 +
<code lang="c">int printf (const char *template, ...)</code>

Revision as of 12:50, 28 October 2013


The printf function prints the optional arguments under the control of the template string template to the stream stdout. It returns the number of characters printed, or a negative value if there was an output error.

Contents

Prototype

int printf (const char *template, ...)

GDN:printf
Header stdio.h
Supported Since C90