summaryrefslogtreecommitdiff
path: root/gl/stdio.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/stdio.in.h')
-rw-r--r--gl/stdio.in.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gl/stdio.in.h b/gl/stdio.in.h
index 0445c6f107..b659b6703a 100644
--- a/gl/stdio.in.h
+++ b/gl/stdio.in.h
@@ -414,6 +414,9 @@ extern long rpl_ftell (FILE *fp);
# if @REPLACE_FPURGE@ || !@HAVE_DECL_FPURGE@
/* Discard all pending buffered I/O data on STREAM.
STREAM must not be wide-character oriented.
+ When discarding pending output, the file position is set back to where it
+ was before the write calls. When discarding pending input, the file
+ position is advanced to match the end of the previously read input.
Return 0 if successful. Upon error, return -1 and set errno. */
extern int fpurge (FILE *gl_stream);
# endif