diff options
author | Clint Adams <schizo@debian.org> | 2009-07-22 18:08:07 -0500 |
---|---|---|
committer | Clint Adams <schizo@debian.org> | 2009-07-22 18:08:07 -0500 |
commit | 86bbc911e93efe1f0957ee887182b3d64bb0eec4 (patch) | |
tree | b5396e313f5bdcce6df85c7e787b214d68e715d4 /lib/stdio.in.h | |
parent | 47c0ab9528ec53e5a0a6e761ba3789055e048638 (diff) |
Imported Upstream version 4.2.1
Diffstat (limited to 'lib/stdio.in.h')
-rw-r--r-- | lib/stdio.in.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/lib/stdio.in.h b/lib/stdio.in.h index 863b903..3335114 100644 --- a/lib/stdio.in.h +++ b/lib/stdio.in.h @@ -2,7 +2,7 @@ /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* A GNU-like <stdio.h>. - Copyright (C) 2004, 2007-2008 Free Software Foundation, Inc. + Copyright (C) 2004, 2007-2009 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 @@ -409,6 +409,24 @@ extern long rpl_ftell (FILE *fp); fflush (f)) #endif +#if @GNULIB_FPURGE@ +# if @REPLACE_FPURGE@ +# define fpurge rpl_fpurge +# endif +# if @REPLACE_FPURGE@ || !@HAVE_DECL_FPURGE@ + /* Discard all pending buffered I/O data on STREAM. + STREAM must not be wide-character oriented. + Return 0 if successful. Upon error, return -1 and set errno. */ + extern int fpurge (FILE *gl_stream); +# endif +#elif defined GNULIB_POSIXCHECK +# undef fpurge +# define fpurge(f) \ + (GL_LINK_WARNING ("fpurge is not always present - " \ + "use gnulib module fpurge for portability"), \ + fpurge (f)) +#endif + #if @GNULIB_FCLOSE@ # if @REPLACE_FCLOSE@ # define fclose rpl_fclose |