Query: ferror
OS: hpux
Section: 3s
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ferror(3S) ferror(3S)NAMEferror(), feof(), clearerr(), ferror_unlocked(), feof_unlocked(), clearerr_unlocked() - stream status inquiriesSYNOPSISObsolescent InterfacesDESCRIPTIONReturns nonzero when an I/O error has previously occurred reading from or writing to the named stream, otherwise zero. Unless cleared by or unless the spe- cific stdio routine so indicates, the error indication lasts until the stream is closed. Returns nonzero when EOF has previously been detected reading the named input stream, otherwise zero. Resets the error indicator and EOF indicator on the named stream to zero. Obsolescent Interfaces and stream status inquiries.WARNINGSAll these routines are implemented both as library functions and as macros. The macro versions, which are used by default, are defined in To obtain the library function, either use a to remove the macro definition or, if compiling in ANSI-C mode, enclose the function name in parentheses or use the function address. The following example illustrates each of these methods : Reentrant Interfaces If is defined before including the locked versions of the library functions for and are used by default. and are obsolescent interfaces supported only for compatibility with existing DCE applications. New multithreaded applications should use andSEE ALSOopen(2), flockfile(3S), fopen(3S), thread_safety(5).STANDARDS CONFORMANCEferror(3S)
Related Man Pages |
---|
fileno(3c) - opensolaris |
feof(3c) - sunos |
ferror(3s) - hpux |
clearerr(3c) - sunos |
ferror_unlocked(3) - osx |