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

PutStr

Writes a string the the default output (buffered)

Declaration

Source position: amigados.pas line 1693

function PutStr(

  const str: pCHAR

):LongInt;

function PutStr(

  const str: string

):LongInt;

Function result

0 for success, -1 for any error. NOTE: this is opposite most Dos function returns!

Description

This routine writes an unformatted string to the default output. No newline is appended to the string and any error is returned. This routine is buffered.

See also

FPuts

  

Writes a string the the specified output

FPutC

  

Write a character to the specified output

FWrite

  

Writes a number of blocks to an output (buffered)

WriteChars

  

Writes bytes to the the default output (buffered)


Documentation generated on: 2021-07-30