| 1 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" |
| 2 | "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> |
| 3 | <refentry id="printf"> |
| 4 | |
| 5 | <refmeta> |
| 6 | <refentrytitle>printf</refentrytitle> |
| 7 | <manvolnum>3S</manvolnum> |
| 8 | </refmeta> |
| 9 | |
| 10 | <refnamediv> |
| 11 | <refname>printf</refname> |
| 12 | <refname>fprintf</refname> |
| 13 | <refname>sprintf</refname> |
| 14 | <refpurpose>print formatted output</refpurpose> |
| 15 | </refnamediv> |
| 16 | |
| 17 | <refsynopsisdiv> |
| 18 | |
| 19 | <funcsynopsis> |
| 20 | <funcsynopsisinfo> |
| 21 | #include <stdio.h> |
| 22 | </funcsynopsisinfo> |
| 23 | <funcprototype> |
| 24 | <funcdef>int <function>printf</function></funcdef> |
| 25 | <paramdef>const char *<parameter>format</parameter></paramdef> |
| 26 | <paramdef>...</paramdef> |
| 27 | </funcprototype> |
| 28 | |
| 29 | <funcprototype> |
| 30 | <funcdef>int <function>fprintf</function></funcdef> |
| 31 | <paramdef>FILE *<parameter>strm</parameter></paramdef> |
| 32 | <paramdef>const char *<parameter>format</parameter></paramdef> |
| 33 | <paramdef>...</paramdef> |
| 34 | </funcprototype> |
| 35 | |
| 36 | <funcprototype> |
| 37 | <funcdef>int <function>sprintf</function></funcdef> |
| 38 | <paramdef>char *<parameter>s</parameter></paramdef> |
| 39 | <paramdef>const char *<parameter>format</parameter></paramdef> |
| 40 | <paramdef>...</paramdef> |
| 41 | </funcprototype> |
| 42 | </funcsynopsis> |
| 43 | |
| 44 | </refsynopsisdiv> |
| 45 | |
| 46 | <refsect1><title>Description</title> |
| 47 | <para> |
| 48 | <function>printf</function> places output on the standard |
| 49 | output stream stdout. |
| 50 | </para> |
| 51 | <para>…</para> |
| 52 | </refsect1> |
| 53 | </refentry> |