_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 the ARM C library supports it 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

ARM C and C++ Libraries and Floating-Point Support User Guide:

Reference
Copyright © 2014 ARM. All rights reserved.ARM DUI 0809A
Non-ConfidentialID031214