contents   index   previous   next



Clib.fprintf()

syntax:

Clib.fprintf(filePointer, formatString[, variables ...])

where:

filePointer - pointer to file to use.

 

formatString - string that specifies the final format.

 

variables - values to be converted to and formatted as a string.

 

return:

number - characters written on success, else a negative number.

 

description:

This flexible function writes a formatted string to the file associated with filePointer. The second parameter, formatString, is a string of the same pattern as Clib.sprintf() and Clib.rsprintf().

 

see:

Clib.printf()

 

 


Clib.fputc()