Home  /  Autodocs  /  dos.library

NAME

IsInteractive
Discover whether a file is "interactive"

SYNOPSIS

status = IsInteractive( file )
D0 D1

BOOL IsInteractive(BPTR)

FUNCTION

The return value 'status' indicates whether the file associated with the FileHandle 'file' is connected to a virtual terminal. A console window opened by the NewShell command or the System/Shell Workbench tool is such a "virtual terminal".

INPUTS

file
BCPL pointer to a FileHandle

RESULT

status
boolean