Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#amunits]

VFPrintf

format and print a string to a file (buffered)

Declaration

Source position: amigados.pas line 1736

function VFPrintf(

  fh: LongInt;

  const format: pCHAR;

  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: 2021-07-30