You copied the Doc URL to your clipboard.

_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.

Was this page helpful? Yes No