4.8 _fisatty()

Defined in stdio.h, the _fisatty() 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.


int _fisatty(FILE *stream);

The return value indicates the stream destination:


A file.


A terminal.


An error.

Non-ConfidentialPDF file icon PDF versionARM 100073_0607_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.