Project Info Name.......: gnu-hello
Description: GNU Hello


gnu-hello       
Info
Commit...:1b6f89e55b20434b71027a4dcd0e17bb0300b34a
Author...:karl <>
Committer:karl <>
Date.....:Wed Nov 5 19:49:54 2008 +0000
Parents..:ab8ffce47b48d9746dce3521eadf274e973b738c

Message
[project @ 2008-11-05 19:49:54 by karl]
fpending is not generated

Changes
diff --git a/gnulib/lib/fpending.c b/gnulib/lib/fpending.c
line changes: +29/-0
index 0000000..9250d6a
--- /dev/null
+++ b/gnulib/lib/fpending.c
@@ -0,0 +1,29 @@
+/* fpending.c -- return the number of pending output bytes on a stream
+   Copyright (C) 2000, 2004, 2006, 2007 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;
+}

diff --git a/gnulib/lib/fpending.h b/gnulib/lib/fpending.h
line changes: +33/-0
index 0000000..c6a493d
--- /dev/null
+++ b/gnulib/lib/fpending.h
@@ -0,0 +1,33 @@
+/* Declare __fpending.
+
+   Copyright (C) 2000, 2003, 2005, 2006 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 <stddef.h>
+#include <stdio.h>
+
+#ifndef HAVE_DECL___FPENDING
+"this configure-time declaration test was not run"
+#endif
+
+#if HAVE_DECL___FPENDING
+# if HAVE_STDIO_EXT_H
+#  include <stdio_ext.h>
+# endif
+#else
+size_t __fpending (FILE *);
+#endif

This website is licensed under AGPL-3.0. Feel free to copy!