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

VFPrintf

format and print a string to a file (buffered)

Declaration

Source position: amigados.pas line 2492

function VFPrintf(

  Fh: LongInt;

  const Format: PChar;

  const ArgArray: Pointer

):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)

RawDoFmt

  

Format data into a character stream.

FPutC

  

Write a character to the specified output


Documentation generated on: 2021-07-30