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.

Syntax

int _fisatty(FILE *stream);

The return value indicates the stream destination:

0

A file.

1

A terminal.

Negative

An error.

Non-ConfidentialPDF file icon PDF versionARM DUI0475M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.