Advanced Programming in the UNIX® Environment

(lily) #1
ptg10805159

Appendix A Function Prototypes 891


int vdprintf(intfd,const char *restrictformat,va_listarg);
<stdarg.h> p. 161
<stdio.h>
Returns: number of characters output if OK, negative
value if output error

int vfprintf(FILE *restrictfp,const char *restrictformat,
va_listarg);
<stdarg.h> p. 161
<stdio.h>
Returns: number of characters output if OK, negative
value if output error

int vfscanf(FILE *restrictfp,const char *restrictformat,
va_listarg);
<stdarg.h> p. 163
<stdio.h>
Returns: number of input items assigned,EOFif input error
or end of file beforeany conversion

int vprintf(const char *restrictformat,va_listarg);
<stdarg.h> p. 161
<stdio.h>
Returns: number of characters output if OK, negative
value if output error

int vscanf(const char *restrictformat,va_listarg);
<stdarg.h> p. 163
<stdio.h>
Returns: number of input items assigned,EOFif input error
or end of file beforeany conversion

int vsnprintf(char *restrictbuf,size_tn,
const char *restrictformat,va_listarg);
<stdarg.h> p. 161
<stdio.h>
Returns: number of characters that would have been stored
in array if buffer was large enough, negative value
if encoding error

int vsprintf(char *restrictbuf,const char *restrictformat,
va_listarg);
<stdarg.h> p. 161
<stdio.h>
Returns: number of characters stored in array if OK, negative
value if encoding error
Free download pdf