Manpage of IPRINTF

Google
Web www.fiveanddime.net

IPRINTF

Section: NEWLIB (3)
Updated: 2005 Feb 23
Index Return to Main Contents
 

NAME

3.46 `iprintf', `fiprintf', `asiprintf', `siprintf', `sniprintf'--format output

 

SYNOPSIS


     #include <stdio.h>


     int iprintf(const char *FORMAT [, ARG, ...]);
     int fiprintf(FILE *FD, const char *FORMAT [, ARG, ...]);
     int siprintf(char *STR, const char *FORMAT [, ARG, ...]);
     int asiprintf(char **STRP, const char *FORMAT [, ARG, ...]);
     int sniprintf(char *STR, size_t SIZE, const char *FORMAT [, ARG, ...]);  

DESCRIPTION

`iprintf', `fiprintf', `siprintf', `sniprintf', `asiprintf', are the same as `printf', `fprintf', `sprintf', `snprintf', and `asprintf', respectively, only that they restrict usage to non-floating-point format specifiers.

 

RETURNS

`siprintf' and `asiprintf' return the number of bytes in the output string, save that the concluding `NULL' is not counted. `iprintf' and `fiprintf' return the number of characters transmitted. If an error occurs, `iprintf' and `fiprintf' return `EOF' and `asiprintf' returns -1. No error returns occur for `siprintf'.

 

PORTABILITY

`iprintf', `fiprintf', `siprintf', `sniprintf', and `asprintf' are newlib extensions.


   Supporting OS subroutines required: `close', `fstat', `isatty', `lseek', `read', `sbrk', `write'.

 

SEE ALSO

iprintf is part of the libc library. The full documentation for libc is maintained as a Texinfo manual. If info and libc are properly installed at your site, the command
info libc

will give you access to the complete manual.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURNS
PORTABILITY
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:25:18 GMT, May 16, 2005



www.fiveanddime.net








Google
Web www.fiveanddime.net