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

# TCSetPGrp

Terminal control: Set process group

## Declaration

Source position: oldlinux.pp line 1503

`function TCSetPGrp(`
`fd: LongInt;`
`id: LongInt`
`):Boolean;`

## Description

TCSetPGrp Sets the Process Group Id to Id. The function returns True if the call was successful, False otherwise.

For an example, see TCGetPGrp.

## Errors

Errors are returned 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
TCGetPGrp |  | Terminal control: Get process group
TCSendBreak |  | Terminal control: Send break
TCSetAttr |  | Terminal control: Set attributes
TTYName |  | Terminal control: Get terminal name
IsATTY |  | Check if filehandle is a TTY (terminal)

Documentation generated on: Feb 26 2014