Annotation of cci/usr/src/man/man3/ferror.3s, revision 1.1.1.1

1.1       root        1: .TH FERROR 3S  "19 January 1983"
                      2: .UC 4
                      3: .SH NAME
                      4: ferror, feof, clearerr, fileno \- stream status inquiries
                      5: .SH SYNOPSIS
                      6: .B #include <stdio.h>
                      7: .PP
                      8: .B feof(stream)
                      9: .br
                     10: .SM
                     11: .B FILE
                     12: .B *stream;
                     13: .PP
                     14: .B ferror(stream)
                     15: .br
                     16: .SM
                     17: .B FILE
                     18: .B *stream
                     19: .PP
                     20: .B clearerr(stream)
                     21: .br
                     22: .SM
                     23: .B FILE
                     24: .B *stream
                     25: .PP
                     26: .B fileno(stream)
                     27: .br
                     28: .SM
                     29: .B FILE
                     30: .B *stream;
                     31: .SH DESCRIPTION
                     32: .I Feof
                     33: returns non-zero when end of file is read on the named input
                     34: .IR stream ,
                     35: otherwise zero.
                     36: .PP
                     37: .I Ferror
                     38: returns non-zero when an error has occurred reading or writing
                     39: the named
                     40: .IR stream ,
                     41: otherwise zero.
                     42: Unless cleared by
                     43: .IR clearerr ,
                     44: the error indication lasts until
                     45: the stream is closed.
                     46: .PP
                     47: .I Clrerr
                     48: resets the error indication on the named
                     49: .IR stream .
                     50: .PP
                     51: .I Fileno
                     52: returns the integer file descriptor
                     53: associated with the
                     54: .IR stream ,
                     55: see
                     56: .IR  open (2).
                     57: .PP
                     58: These functions
                     59: are implemented as macros;
                     60: they cannot be redeclared.
                     61: .SH "SEE ALSO"
                     62: fopen(3S),
                     63: open(2)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.