.TH printf() "" "" "Internal Kernel Routine"
.PC "Formatted print"
\fBvoid printf(\fIformat\^\fB, \fIarg\^\fB, ... )\fR
\fBchar *\fIformat\^\fB;\fR
.PP
.B printf()
is a kernel routine that offers
a simplified version of the function found in the standard C library.
This version recognizes the formatting conversions
.BR % ,
.BR c ,
.BR d ,
.BR o ,
.BR p ,
.BR r ,
.BR s ,
.BR u ,
.BR x ,
.BR D ,
.BR O ,
.BR U ,
and
.BR X .
It also recognizes the length modifier
.BR l .
It does not recognize
left justification, field widths, or zero padding.
For details on each conversion specification, see the Lexicon entry for
.B printf()
in the \*(CO Lexicon.
.SH "See Also"
.B
internal kernel routines
.R
.br
\*(CO Lexicon:
.B
printf()
.R
.SH Notes
Unlike the library version of this function, the kernel version of
.B printf()
is synchronous; that is, it does not wait until the next context switch
before it prints your message.
.PP
This function does much the same work as the DDI/DKI routine
.BR cmn_err() .
