next up previous contents index
Next: S_ISBLK Up: Functions and procedures Previous: IOperm

IsATTY

   

Declaration:

Function IsATTY (var f) : Boolean;

Description:

;

Errors:

Check if the filehandle described by f is a terminal. f can be of type

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

Returns True if f is a terminal, False otherwise.

See also:

No errors are reported IOCtl,TTYName



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998