Keil Logo

_fisatty()

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.
Related reference
Non-ConfidentialPDF file icon PDF versionARM DUI0378H
Copyright © 2007, 2008, 2011, 2012, 2014-2016 ARM. All rights reserved. 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.