contents   index   previous   next



Clib.vsprintf(str, formatString, valist)


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.



number - characters written to str, not including the terminating null character, on success, else EOF on error.



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.



Clib.sprintf(), Clib.va_start()



Memory manipulation