[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'amigados' (#aros)

VFPrintf

format and print a string to a file (buffered)

Declaration

Source position: amigados.pas line 2302

function VFPrintf(

  Fh: BPTR;

  const format: STRPTR;

  const ArgArray: PLongInt

):LongInt;

Arguments

Fh

  

Filehandle to write to

format

  

RawDoFmt() style formatting string

ArgArray

  

Pointer to array of formatting values

Function result

Number of bytes written or -1 (EOF) for an error

Description

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.

See also

VPrintf

  

Format and print string (buffered)

VFWritef

  

Write a BCPL formatted string to a file (buffered)

RawDoFmt

  

Format data into a character stream.

FPutC

  

Write a character to the specified output


Documentation generated on: 2017-01-10