3 <<iprintf>>---write formatted output (integer only)
10 int iprintf(const char *<[format]>, ...);
15 int iprintf(<[format]> [, <[arg]>, ...])
19 <<iprintf>> is a restricted version of <<printf>>: it has the same
20 arguments and behavior, save that it cannot perform any floating-point
21 formatting: the <<f>>, <<g>>, <<G>>, <<e>>, and <<F>> type specifiers
25 <<iprintf>> returns the number of bytes in the output string,
26 save that the concluding <<NULL>> is not counted.
27 <<iprintf>> returns when the end of the format string is
28 encountered. If an error occurs, <<iprintf>>
32 <<iprintf>> is not required by ANSI C.
34 Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
35 <<lseek>>, <<read>>, <<sbrk>>, <<write>>.
53 iprintf (const char *fmt
,...)
56 iprintf (fmt
, va_alist
)
64 _REENT_SMALL_CHECK_INIT(_stdout_r (_REENT
));
70 ret
= vfiprintf (stdout
, fmt
, ap
);
75 #endif /* ! _REENT_ONLY */
79 _iprintf_r (struct _reent
*ptr
, const char *fmt
, ...)
82 _iprintf_r (data
, fmt
, va_alist
)
91 _REENT_SMALL_CHECK_INIT(_stdout_r (ptr
));
97 ret
= vfiprintf (_stdout_r (ptr
), fmt
, ap
);