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...")
 
 
(One intermediate revision by the same user not shown)
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==
 +
 +
<source lang="c">int printf (const char *template, ...)</source>

Latest revision as of 12:52, 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

<source lang="c">int printf (const char *template, ...)</source>

GDN:printf
Header stdio.h
Supported Since C90