X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2F__fpending.c;h=0769f2314c1b675a9f42327512b816514529a99b;hb=7ec881d86b09cad88b3999ee314c21abe78c7eb2;hp=a761b97a376ed8c524eaa3391a1dfb84abe5cc1c;hpb=26eccc5a2489af8bd1bff71bf1ce47e9598fa8c6;p=gnulib.git diff --git a/lib/__fpending.c b/lib/__fpending.c index a761b97a3..0769f2314 100644 --- a/lib/__fpending.c +++ b/lib/__fpending.c @@ -1,5 +1,5 @@ /* __fpending.c -- return the number of pending output bytes on a stream - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -13,7 +13,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Written by Jim Meyering. */ @@ -21,9 +21,10 @@ # include #endif -#include -#include +#include "__fpending.h" +/* Return the number of pending (aka buffered, unflushed) + bytes on the stream, FP, that is open for writing. */ size_t __fpending (FILE *fp) {