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

FPutC

Write a character to the specified output

Declaration

Source position: amigados.pas line 2251

function FPutC(

  File_: Pointer;

  Character: LongInt

):LongInt;

Arguments

File_

  

Filehandle to use for buffered I/O

Character

  

Character to write

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