use same location as .configured, etc, to store .files-touched
[AROS.git] / compiler / clib / feof.c
blobfcada1e44ae141f9a9fb0b588b69780064be1547
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
5 ANSI C function feof().
6 */
8 #define feof feof
10 /*****************************************************************************
12 NAME */
13 #include <stdio.h>
15 int feof (
17 /* SYNOPSIS */
18 FILE * stream)
20 /* FUNCTION
21 Test the EOF-Flag of a stream. This flag is set automatically by
22 any function which recognises EOF. To clear it, call clearerr().
24 INPUTS
25 stream - The stream to be tested.
27 RESULT
28 != 0, if the stream is at the end of the file, 0 otherwise.
30 NOTES
31 This function must not be used in a shared library or
32 in a threaded application.
34 EXAMPLE
36 BUGS
38 SEE ALSO
39 ferror(), clearerr()
41 INTERNALS
43 ******************************************************************************/
45 return (stream->flags & _STDIO_EOF) != 0;
46 } /* feof */