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

TCGetPGrp

Terminal control: Get process group

Declaration

Source position: oldlinux.pp line 1504

function TCGetPGrp(

  fd: LongInt;

  var id: LongInt

):Boolean;

Description

TCGetPGrp returns the process group ID of a foreground process group in Id 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

TCFlow

  

Terminal control: Suspend transmission of data

TCFlush

  

Terminal control: Discard data buffer

TCGetAttr

  

Terminal Control: Get terminal attributes

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.