Create and write a formatted string to a file
Int_Type fprintf (File_Type fp, String_Type fmt, ...)
fprintf formats the objects specified by the variable argument
list according to the format fmt and write the result to the
open file pointer fp.
The format string obeys the same syntax and semantics as the
sprintf format string. See the description of the
sprintf function for more information.
fprintf returns the number of characters written to the file,
or -1 upon error.
- slangrtl
-
error,
fgets,
fopen,
fputs,
fread,
fwrite,
message,
printf,
time,
usage,
vmessage,
write
|