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

FPutC

Write a character to the specified output

Declaration

Source position: amigados.pas line 2484

function FPutC(

  Fh: LongInt;

  Ch: LongInt

):LongInt;

Function result

Either the character written, or EOF for an error.

Description

Writes a single character to the output stream. This call is buffered. Use DosFlush() between buffered and unbuffered I/O on a filehandle. Interactive filehandles are flushed automatically on a newline, return, 0, or line feed.

See also

FGetC

  

Read a character from the specified input (buffered)

UnGetC

  

Makes a char available for reading again. (buffered)

DosFlush

  

Flushes buffers for a buffered filehandle


Documentation generated on: 2021-07-30