<TITLE>ferror</TITLE>
<body bgcolor="#ffffcc">
<hr>
<pre>
<h3>FERROR(3) Linux Programmer's Manual FERROR(3)
</h3>
<h3>NAME
</h3> clearerr, feof, ferror, fileno - check and reset stream
status
<h3>SYNOPSIS
</h3> #include <stdio.h>
void clearerr( FILE *stream);
int feof( FILE *stream);
int ferror( FILE *stream);
int fileno( FILE *stream);
<h3>DESCRIPTION
</h3> The function clearerr clears the end-of-file and error
indicators for the stream pointed to by stream.
The function feof tests the end-of-file indicator for the
stream pointed to by stream, returning non-zero if it is
set. The end-of-file indicator can only be cleared by the
function clearerr.
The function ferror tests the error indicator for the
stream pointed to by stream, returning non-zero if it is
set. The error indicator can only be reset by the clear-
err function.
The function fileno examines the argument stream and
returns its integer descriptor.
<h3>ERRORS
</h3> These functions should not fail and do not set the exter-
nal variable errno.
</pre>
<hr>
<h3>SEE ALSO
</h3><p>
<a href=open.htm>open</a>,
<a href=stdio.htm>stdio</a>,
<pre>
<h3>STANDARDS
</h3> The functions clearerr, feof, and ferror conform to
C3.159-1989 (``ANSI C'').
<h3>BSD MANPAGE 29 November 1993 1
</h3>
</pre>
<P>
<hr>
<p>
<center>
<table border=2 width=80%>
<tr align=center>
<td width=25%>
<a href=../index.htm>Top</a>
</td><td width=25%>
<a href=../master_index.html>Master Index</a>
</td><td width=25%>
<a href=../SYNTAX/keywords.html>Keywords</a>
</td><td width=25%>
<a href=../FUNCTIONS/index.htm>Functions</a>
</td>
</tr>
</table>
</center>
<p>
<hr>
This manual page was brought to you by <i>mjl_man V-2.0</i>
| file: /techref/language/ccpp/cref/MAN/ferror.htm, 1KB, , updated: 2003/3/20 09:39, local time: 2008/12/5 08:36,
38.103.63.58:LOG IN
|
| ©2008 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? Please DO link to this page! Digg it! <A HREF="http://www.piclist.com/techref/language/ccpp/cref/MAN/ferror.htm"> ferror</A> |
| Did you find what you needed? |
|
o List host: MIT, Site host massmind.org, Top posters @20081205 Apptech, Jinx, Xiaofan Chen, olin piclist, Vitaliy, William \Chops\ Westfield, Tamas Rudnai, JonnyMac, Alan B. Pearce, Gerhard Fiedler, * Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Shultz Electronics, Timothy Weber, on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
|
.