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



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

TTYname

Terminal control: Get terminal name

Declaration

Source position: line 0

function TTYname(

  Handle: LongInt

):String;

function TTYname(

  var F: Text

):String;

Description

TTYNameReturns the name of the terminal pointed to by f. f must be a terminal. f can be of type:

  1. longint for file handles;
  2. Text for text variables such as input etc.

Errors

Returns an empty string in case of an error. Linuxerror may be set to indicate what error occurred, but this is uncertain.

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

TCSetPGrp

  

Terminal control: Set process group

IsATTY

  

Check if filehandle is a TTY (terminal)

IOCtl

  

General kernel IOCTL call.

Notes

 No notes exist for this page yet. 





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