NAME VFPrintf -- format and print a string to a file (buffered) (V36) SYNOPSIS count = VFPrintf(fh, fmt, argv) D0 D1 D2 D3 long vfprintf(bptr, strptr, long *) count = FPrintf(fh, fmt, ...) long fprintf(bptr, strptr, ...) FUNCTION Writes the formatted string and values to the given file. This routine is assumed to handle all internal buffering so that the formatting string and resultant formatted values can be arbitrarily long. Any secondary error code is returned in ioerr(). this routine is buffered. INPUTS fh - Filehandle to write to fmt - rawdofmt() style formatting string argv - Pointer to array of formatting values RESULT count - Number of bytes written or -1 (EOF) for an error BUGS The prototype for FPrintf() currently forces you to cast the first varargs parameter to long due to a deficiency in the program that generates fds, prototypes, and amiga.lib stubs. SEE ALSO vprintf(), vfwritef(), rawdofmt(), fputc()