Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ feof(3S) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fopen(3s)

open(2)



FERROR(3S)              COMMAND REFERENCE              FERROR(3S)



NAME
     feof, ferror, clearerr, fileno - stream status inquiries

SYNOPSIS
     #include <stdio.h>

     feof(stream)
     FILE *stream;

     ferror(stream)
     FILE *stream

     clearerr(stream)
     FILE *stream

     fileno(stream)
     FILE *stream;

DESCRIPTION
     Feof returns nonzero when end-of-file is read on the named
     input stream; otherwise, it is zero.

     Ferror returns nonzero when an error has occurred reading or
     writing the named stream; otherwise, it is zero.  Unless
     cleared by clearerr, the error indication lasts until the
     stream is closed.

     Clrerr resets the error indication on the named stream.

     Fileno returns the integer file descriptor associated with
     the stream; see open(2).

     These functions are implemented as macros; they cannot be
     redeclared.

SEE ALSO
     fopen(3s), open(2).


















Printed 10/17/86                                                1





































































%%index%%
na:72,92;
sy:164,954;
de:1118,876;
se:1994,115;
%%index%%000000000081

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026