~ubuntu-branches/ubuntu/precise/manpages-posix/precise

1 by Francesco Paolo Lovergine
rules: linking manpages-posix not manpages.
1
.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved 
2 by Francesco Paolo Lovergine
* Alligned to linux main manpages edition.
2
.TH "FEOF" P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual"
1 by Francesco Paolo Lovergine
rules: linking manpages-posix not manpages.
3
.\" feof 
4
.SH NAME
5
feof \- test end-of-file indicator on a stream
6
.SH SYNOPSIS
7
.LP
8
\fB#include <stdio.h>
9
.br
10
.sp
11
int feof(FILE *\fP\fIstream\fP\fB);
12
.br
13
\fP
14
.SH DESCRIPTION
15
.LP
16
The \fIfeof\fP() function shall test the end-of-file indicator for
17
the stream pointed to by \fIstream\fP.
18
.SH RETURN VALUE
19
.LP
20
The \fIfeof\fP() function shall return non-zero if and only if the
21
end-of-file indicator is set for \fIstream\fP.
22
.SH ERRORS
23
.LP
24
No errors are defined.
25
.LP
26
\fIThe following sections are informative.\fP
27
.SH EXAMPLES
28
.LP
29
None.
30
.SH APPLICATION USAGE
31
.LP
32
None.
33
.SH RATIONALE
34
.LP
35
None.
36
.SH FUTURE DIRECTIONS
37
.LP
38
None.
39
.SH SEE ALSO
40
.LP
41
\fIclearerr\fP() , \fIferror\fP() , \fIfopen\fP() , the Base Definitions
42
volume of IEEE\ Std\ 1003.1-2001, \fI<stdio.h>\fP
43
.SH COPYRIGHT
44
Portions of this text are reprinted and reproduced in electronic form
45
from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
46
-- Portable Operating System Interface (POSIX), The Open Group Base
47
Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
48
Electrical and Electronics Engineers, Inc and The Open Group. In the
49
event of any discrepancy between this version and the original IEEE and
50
The Open Group Standard, the original IEEE and The Open Group Standard
51
is the referee document. The original Standard can be obtained online at
52
http://www.opengroup.org/unix/online.html .