Query: clearerr
OS: bsd
Section: 3s
Links: bsd man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FERROR(3S) FERROR(3S)NAMEferror, feof, clearerr, fileno - stream status inquiriesSYNOPSIS#include <stdio.h> feof(stream) FILE *stream; ferror(stream) FILE *stream clearerr(stream) FILE *stream fileno(stream) FILE *stream;DESCRIPTIONFeof returns non-zero when end of file is read on the named input stream, otherwise zero. Unless cleared by clearerr, the end-of-file indication lasts until the stream is closed. Ferror returns non-zero when an error has occurred reading or writing the named stream, otherwise zero. Unless cleared by clearerr, the error indication lasts until the stream is closed. Clearerr resets the error and end-of-file indicators on the named stream. Fileno returns the integer file descriptor associated with the stream, see open(2). Currently all of these functions are implemented as macros; they cannot be redeclared.SEE ALSOfopen(3S), open(2) 4th Berkeley Distribution May 14, 1986 FERROR(3S)
Related Man Pages |
---|
feof(3) - mojave |
fileno(3) - redhat |
ferror(3c) - sunos |
fileno(3c) - sunos |
fileno(3) - osx |
Similar Topics in the Unix Linux Community |
---|
function debugging. help |
Hi Urgent |
scandir() and threads |