
This attempts to repair problems introduced by the bad merge
5491fd1098
. The easiest way for me
to fix the badly-merged gnulib files was to run
'admin/merge-gnulib', so I did that, which also imported the
following changes:
* build-aux/update-copyright, m4/gnulib.m4:
Update from gnulib, incorporating:
2015-01-15 time: port to MinGW32 3.21
2015-01-15 update-copyright: apply to self
2015-01-11 update-copyright: recognize groff's \(co marker
30 lines
1 KiB
C
30 lines
1 KiB
C
/* fpending.c -- return the number of pending output bytes on a stream
|
|
Copyright (C) 2000, 2004, 2006-2007, 2009-2015 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
|
|
the Free Software Foundation; either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
|
|
/* Written by Jim Meyering. */
|
|
|
|
#include <config.h>
|
|
|
|
#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)
|
|
{
|
|
return PENDING_OUTPUT_N_BYTES;
|
|
}
|