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

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

feof(3)

Contents


NAME    [Toc]    [Back]

       feof - Test for EOF on a stream

SYNOPSIS    [Toc]    [Back]

       #include <stdio.h>

       int feof(
               FILE *stream );

LIBRARY    [Toc]    [Back]

       Standard C Library (libc)

STANDARDS    [Toc]    [Back]

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

       feof(): 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 stream.

DESCRIPTION    [Toc]    [Back]

       The  feof() function tests the EOF (end-of-file) condition
       on the specified stream.

NOTES    [Toc]    [Back]

       [Tru64 UNIX]  The feof() 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 EOF has previously  been  detected  reading  the  input
       stream  specified by the stream parameter, a nonzero value
       is returned.  Otherwise, a value of 0 (zero) is  returned.

SEE ALSO    [Toc]    [Back]

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

       Standards: standards(5)

       Network Programmer's Guide



                                                          feof(3)
[ Back ]
 Similar pages
Name OS Title
ferror Tru64 Test the error indicator on a stream
ttcp IRIX test TCP and UDP performance
isnan NetBSD test for infinity or not-a-number
isalpha FreeBSD alphabetic character test
isalnum FreeBSD alphanumeric character test
logb NetBSD IEEE test functions
logbf NetBSD IEEE test functions
significand FreeBSD IEEE test functions
scalbf FreeBSD IEEE test functions
scalb FreeBSD IEEE test functions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service