version 1.26, 2014/05/13 20:37:48 |
version 1.27, 2014/05/25 07:36:36 |
|
|
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm printf |
.Nm printf |
.Ar format |
.Ar format |
.Op Ar arguments ... |
.Op Ar argument ... |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm printf |
.Nm printf |
formats and prints its arguments, after the first, under control |
formats and prints its arguments, after the first, under control |
|
|
each of which causes printing of the next successive |
each of which causes printing of the next successive |
.Ar argument . |
.Ar argument . |
.Pp |
.Pp |
The |
The arguments after the first are treated as strings |
.Ar arguments |
if the corresponding format is |
after the first are treated as strings if the corresponding format is |
|
.Cm b , |
.Cm b , |
.Cm c |
.Cm c |
or |
or |
|
|
code of the next character. |
code of the next character. |
.El |
.El |
.Pp |
.Pp |
The format string is reused as often as necessary to satisfy the |
The format string is reused as often as necessary to satisfy the arguments. |
.Ar arguments . |
|
Any extra format specifications are evaluated with zero or the null |
Any extra format specifications are evaluated with zero or the null |
string. |
string. |
.Pp |
.Pp |