DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦b09998e5c⟧ TextFile

    Length: 991 (0x3df)
    Types: TextFile
    Notes: UNIX file
    Names: »ferror.3s«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »usr/man/man3/ferror.3s« 

TextFile

.ig
	@(#)ferror.3s	2.1	7/1/84
	@(#)Copyright (C) 1983 by National Semiconductor Corp.
..
.TH FERROR 3S 
.SH NAME
feof, ferror, clearerr, fileno \- stream status inquiries
.SH SYNOPSIS
.B #include <stdio.h>
.PP
.B feof(stream)
.br
.SM
.B FILE
.B *stream;
.PP
.B ferror(stream)
.br
.SM
.B FILE
.B *stream
.PP
.B clearerr(stream)
.br
.SM
.B FILE
.B *stream
.PP
.B fileno(stream)
.br
.SM
.B FILE
.B *stream;
.SH DESCRIPTION
.I Feof
returns non-zero when end of file is read on the named input
.I stream,
otherwise zero.
.PP
.I Ferror
returns non-zero when an error has occurred reading or writing
the named
.I stream,
otherwise zero.
Unless cleared by
.I clearerr,
the error indication lasts until
the stream is closed.
.PP
.I Clearerr
resets the error indication on the named
.I stream.
.PP
.I Fileno
returns the integer file descriptor
associated with the
.I stream,
see
.IR  open (2).
.PP
These functions
are implemented as macros;
they cannot be redeclared.
.SH "SEE ALSO"
fopen(3), open(2)