]> sourceware.org Git - glibc.git/blame - libio/feof.c
update from main archive 970225
[glibc.git] / libio / feof.c
CommitLineData
7c713e28 1/* Copyright (C) 1993, 1996 Free Software Foundation, Inc.
96aa2d94
RM
2
3This file is part of the GNU IO Library. This library is free
4software; you can redistribute it and/or modify it under the
5terms of the GNU General Public License as published by the
6Free Software Foundation; either version 2, or (at your option)
7any later version.
8
9This library is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this library; see the file COPYING. If not, write to the Free
16Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
18As a special exception, if you link this library with files
19compiled with a GNU compiler to produce an executable, this does not cause
20the resulting executable to be covered by the GNU General Public License.
21This exception does not however invalidate any other reasons why
22the executable file might be covered by the GNU General Public License. */
23
24#include "libioP.h"
25#include "stdio.h"
26
27int
d41c6f61 28_IO_feof (fp)
96aa2d94
RM
29 _IO_FILE* fp;
30{
7c713e28
RM
31 int result;
32 CHECK_FILE (fp, EOF);
33 _IO_flockfile (fp);
34 result = _IO_feof_unlocked (fp);
35 _IO_funlockfile (fp);
36 return result;
96aa2d94 37}
d41c6f61 38weak_alias (_IO_feof, feof)
This page took 0.047663 seconds and 5 git commands to generate.