viprintf man page on Cygwin

Man page or keyword search:  
man Server   22533 pages
apropos Keyword Search (all sections)
Output format
Cygwin logo
[printable version]

VIPRINTF(3)			    NEWLIB			   VIPRINTF(3)

NAME
       4.72  `viprintf', `vfiprintf', `vsiprintf', `vsniprintf', `vasiprintf',
       `vasniprintf'--format argument list (integer only)

SYNOPSIS
	    #include <stdio.h>
	    #include <stdarg.h>
	    int viprintf(const char *FMT, va_list LIST);
	    int vfiprintf(FILE *FP, const char *FMT, va_list LIST);
	    int vsiprintf(char *STR, const char *FMT, va_list LIST);
	    int vsniprintf(char *STR, size_t SIZE, const char *FMT,
		va_list LIST);
	    int vasiprintf(char **STRP, const char *FMT, va_list LIST);
	    char *vasniprintf(char *STR, size_t *SIZE, const char *FMT,
		va_list LIST);

	    int _viprintf_r(struct _reent *REENT, const char *FMT,
		va_list LIST);
	    int _vfiprintf_r(struct _reent *REENT, FILE *FP,
		const char *FMT, va_list LIST);
	    int _vsiprintf_r(struct _reent *REENT, char *STR,
		const char *FMT, va_list LIST);
	    int _vsniprintf_r(struct _reent *REENT, char *STR,
		size_t SIZE, const char *FMT, va_list LIST);
	    int _vasiprintf_r(struct _reent *REENT, char **STR,
		const char *FMT, va_list LIST);
	    char *_vasniprintf_r(struct _reent *REENT, char *STR,
		size_t *SIZE, const char *FMT, va_list LIST);

DESCRIPTION
       `viprintf', `vfiprintf', `vasiprintf', `vsiprintf',  `vsniprintf',  and
       `vasniprintf'  are  (respectively)  variants  of `iprintf', `fiprintf',
       `asiprintf', `siprintf', `sniprintf', and  `asniprintf'.	  They	differ
       only  in	 allowing their caller to pass the variable argument list as a
       `va_list' object	 (initialized  by  `va_start')	rather	than  directly
       accepting  a  variable  number of arguments.  The caller is responsible
       for calling `va_end'.

	  `_viprintf_r',  `_vfiprintf_r',   `_vasiprintf_r',   `_vsiprintf_r',
       `_vsniprintf_r',	 and  `_vasniprintf_r'	are  reentrant versions of the
       above.

RETURNS
       The return values are consistent with the corresponding functions:

PORTABILITY
       All of these functions are newlib extensions.

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

SEE ALSO
       viprintf	 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			   VIPRINTF(3)
[top]

List of man pages available for Cygwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net