summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-11-23 11:02:03 +0000
committerJim Meyering <jim@meyering.net>2004-11-23 11:02:03 +0000
commitd3c44694c2258a8972a769098f877c9afa1a8ce9 (patch)
treec4c0ac9f34c69687263affa329ac5edd4b59cf15 /lib
parentb90f1a4404ce7105acd424288af23bcc3f344c62 (diff)
downloadcoreutils-d3c44694c2258a8972a769098f877c9afa1a8ce9.tar.xz
add a comment
Diffstat (limited to 'lib')
-rw-r--r--lib/__fpending.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/__fpending.c b/lib/__fpending.c
index a872102ab..007302c8c 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
@@ -23,6 +23,8 @@
#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)
{