Clib.vsprintf()
syntax: |
Clib.vsprintf(str, formatString, valist) |
where: |
str - to hold the formatted output.
formatString - string that specifies the final format.
valist - a variable list of arguments to be used according to formatString.
|
return: |
number - characters written to str, not including the terminating null character, on success, else EOF on error.
|
description: |
This method puts formatted output into str, a string, using a variable number of arguments, specified by valist. The parameter formatString specifies the format of the data put into the string. This method is similar to Clib.sprintf() except that it takes a variable argument list.
The method returns the number of characters written to buffer, not including the terminating null byte, on success, else EOF on error.
|
see: |
Clib.sprintf(), Clib.va_start()
|