Docs » Autodocs » dos.library » IsInteractive
IsInteractive -- Discover whether a file is "interactive"
status = IsInteractive( file ) D0 D1 BOOL IsInteractive(BPTR)
The return value 'status' indicates whether the file associated with the file handle 'file' is connected to a virtual terminal.
file - BCPL pointer to a file handle
status - boolean
|