SIPRINTF(3) NEWLIB SIPRINTF(3)NAME
4.58 `siprintf', `fiprintf', `iprintf', `sniprintf', `asiprintf',
`asniprintf'--format output (integer only)
SYNOPSIS
#include <stdio.h>
int iprintf(const char *FORMAT, ...);
int fiprintf(FILE *FD, const char *FORMAT , ...);
int siprintf(char *STR, const char *FORMAT, ...);
int sniprintf(char *STR, size_t SIZE, const char *FORMAT,
...);
int asiprintf(char **STRP, const char *FORMAT, ...);
char *asniprintf(char *STR, size_t *SIZE,
const char *FORMAT, ...);
int _iprintf_r(struct _reent *PTR, const char *FORMAT, ...);
int _fiprintf_r(struct _reent *PTR, FILE *FD,
const char *FORMAT, ...);
int _siprintf_r(struct _reent *PTR, char *STR,
const char *FORMAT, ...);
int _sniprintf_r(struct _reent *PTR, char *STR, size_t SIZE,
const char *FORMAT, ...);
int _asiprintf_r(struct _reent *PTR, char **STRP,
const char *FORMAT, ...);
char *_asniprintf_r(struct _reent *PTR, char *STR,
size_t *SIZE, const char *FORMAT, ...);
DESCRIPTION
`iprintf', `fiprintf', `siprintf', `sniprintf', `asiprintf', and
`asniprintf' are the same as `printf', `fprintf', `sprintf',
`snprintf', `asprintf', and `asnprintf', respectively, except that they
restrict usage to non-floating-point format specifiers.
`_iprintf_r', `_fiprintf_r', `_asiprintf_r', `_siprintf_r',
`_sniprintf_r', `_asniprintf_r' are simply reentrant versions of the
functions above.
RETURNS
Similar to `printf', `fprintf', `sprintf', `snprintf', `asprintf', and
`asnprintf'.
PORTABILITY
`iprintf', `fiprintf', `siprintf', `sniprintf', `asiprintf', and
`asniprintf' are newlib extensions.
Supporting OS subroutines required: `close', `fstat', `isatty',
`lseek', `read', `sbrk', `write'.
SEE ALSOsiprintf is part of the library. The full documentation for is main‐
tained as a Texinfo manual. If info and are properly installed at your
site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 SIPRINTF(3)