*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> ferror (3)              
Title
Content
Arch
Section
 

ferror(3)

Contents


NAME    [Toc]    [Back]

       ferror - Test the error indicator on a stream

SYNOPSIS    [Toc]    [Back]

       #include <stdio.h>

       int ferror(
               FILE *stream );

LIBRARY    [Toc]    [Back]

       Standard C Library (libc)

STANDARDS    [Toc]    [Back]

       Interfaces  documented  on  this reference page conform to
       industry standards as follows:

       ferror(): XSH4.0, XSH4.2, XSH5.0

       Refer to the standards(5) reference page for more information
 about industry standards and associated tags.

PARAMETERS    [Toc]    [Back]

       Specifies the input or output stream.

DESCRIPTION    [Toc]    [Back]

       The  ferror()  function  tests whether input/output errors
       have occurred on the specified stream.

NOTES    [Toc]    [Back]

       [Tru64  UNIX]  The  ferror()  function  may  be  a   macro
       (depending  on  the  compile-time  definitions used in the
       source). Consequently, you cannot use this interface where
       a function is necessary; for example, a subroutine pointer
       cannot point to it.

RETURN VALUES    [Toc]    [Back]

       If an I/O error occurred when reading from or  writing  to
       the  stream  specified  by the stream parameter, a nonzero
       value is returned.  Otherwise, a  value  of  0  (zero)  is
       returned.

SEE ALSO    [Toc]    [Back]

      
      
       Functions: fopen(3), feof(3), fileno(3), clearerr(3)

       Standards: standards(5)

       Network Programmer's Guide



                                                        ferror(3)
[ Back ]
 Similar pages
Name OS Title
errno HP-UX error indicator for function calls
feof Tru64 Test for EOF on a stream
ALgetstatus IRIX get information concerning the most recent error in the audio stream associated with a port.
set_ieee_exception IRIX Sets floating-point exception indicator
clear_ieee_exception IRIX Clears floating-point exception indicator
VkProgressDialog IRIX A dialog manager supporting interruptible dialogs with a progress indicator
dgerfs IRIX improve the computed solution to a system of linear equations and provides error bounds and backward error est
cgerfs IRIX improve the computed solution to a system of linear equations and provides error bounds and backward error est
zgerfs IRIX improve the computed solution to a system of linear equations and provides error bounds and backward error est
sgerfs IRIX improve the computed solution to a system of linear equations and provides error bounds and backward error est
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service