projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* lib/getaddrinfo.c (includes): Add missing include.
[gnulib.git]
/
lib
/
fwriteerror.h
diff --git
a/lib/fwriteerror.h
b/lib/fwriteerror.h
index
c823ef7
..
ebbe1be
100644
(file)
--- a/
lib/fwriteerror.h
+++ b/
lib/fwriteerror.h
@@
-1,5
+1,5
@@
/* Detect write error on a stream.
/* Detect write error on a stream.
- Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2005
-2006
Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software; you can redistribute it and/or modify
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software; you can redistribute it and/or modify
@@
-49,3
+49,7
@@
For any given stream FP other than stdout, fwriteerror (FP) may only be
called once. */
extern int fwriteerror (FILE *fp);
For any given stream FP other than stdout, fwriteerror (FP) may only be
called once. */
extern int fwriteerror (FILE *fp);
+
+/* Likewise, but don't consider it an error if FP has an invalid file
+ descriptor and no output was done to FP. */
+extern int fwriteerror_no_ebadf (FILE *fp);