[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'oldlinux' (#rtl)

TCFlow

Terminal control: Suspend transmission of data

Declaration

Source position: oldlinux.pp line 1507

function TCFlow(

  fd: LongInt;

  act: LongInt

):Boolean;

Description

TCFlow suspends/resumes transmission or reception of data to or from the file descriptor Fd, depending on the action Act.

This can be one of the following pre-defined values:

TCOOFF
suspend reception/transmission
TCOON
resume reception/transmission
TCIOFF
transmit a stop character to stop input from the terminal
TCION
transmit start to resume input from the terminal.

The function returns True if the call was succesfull, False otherwise.

Errors

Errors are reported in LinuxError.

See also

TCDrain

  

Terminal control: Wait till all data was transmitted

TCFlush

  

Terminal control: Discard data buffer

TCGetAttr

  

Terminal Control: Get terminal attributes

TCGetPGrp

  

Terminal control: Get process group

TCSendBreak

  

Terminal control: Send break

TCSetAttr

  

Terminal control: Set attributes

TCSetPGrp

  

Terminal control: Set process group

TTYName

  

Terminal control: Get terminal name

IsATTY

  

Check if filehandle is a TTY (terminal)

The latest version of this document can be found at lazarus-ccr.sourceforge.net.