_fisatty()

Defined in stdio.h, this function determines whether the given stdio stream is attached to a terminal device or a normal file. It calls the _sys_istty() low-level function on the underlying file handle.

This function is not part of the C library standard, but is supported by the ARM C library as an extension.

Show/hideSyntax

int _fisatty(FILE *stream);

The return value indicates the stream destination:

0

A file.

1

A terminal.

Negative

An error.

Show/hideSee also

Tasks

Using ARM® C and C++ Libraries and Floating-Point Support:

Reference
Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0492F
Non-ConfidentialID091611