4.14.9. _fisatty()

The _fisatty() functiondetermines whether the given stdio stream is attached to a terminal device or a normal file. It calls the _sys_istty() low-level function (see Tailoring the input/output functions) on the underlying file handle.

This function is an ARM-specific library extension.

Syntax

int _fisatty(FILE *stream);

The return value indicates the stream destination:

0

A file.

1

A terminal.

Negative

An error.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI 0067D
Non-Confidential