help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

TCSetAttr

Terminal control: Set attributes

Declaration

Source position: oldlinux.pp line 1498

function TCSetAttr(

  fd: LongInt;

  OptAct: LongInt;

  const tios: Termios

):Boolean;

Description

TCSetAttr sets the terminal parameters you specify in a TermIOS structureTios for the terminal referred to by the file descriptor Fd.

OptAct specifies an optional action when the set need to be done, this could be one of the following pre-defined values:

TCSANOW
set immediately.
TCSADRAIN
wait for output.
TCSAFLUSH
wait for output and discard all input not yet read.

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

For an example, see TCGetAttr.

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

TCGetPGrp

  

Terminal control: Get process group

TCSendBreak

  

Terminal control: Send break

TCSetPGrp

  

Terminal control: Set process group

TTYName

  

Terminal control: Get terminal name

IsATTY

  

Check if filehandle is a TTY (terminal)

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505