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

TCDrain

Terminal control: Wait till all data was transmitted

Declaration

Source position: oldlinux.pp line 1506

function TCDrain(

  fd: LongInt

):Boolean;

Description

TCDrain waits until all data to file descriptor Fd is transmitted.

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

Errors

Errors are reported in LinuxError

See also

TCFlow

  

Terminal control: Suspend transmission of data

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.