[Overview][Constants][Types][Procedures and functions][Variables] 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

TCDrainwaits until all data to file descriptor Fdis transmitted.

The function returns Trueif the call was succesfull, Falseotherwise.

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)