projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
912f97d
)
Add __ftrylockfile prototype.
author
Andreas Jaeger
<aj@suse.de>
Fri, 22 Dec 2000 09:00:17 +0000
(09:00 +0000)
committer
Andreas Jaeger
<aj@suse.de>
Fri, 22 Dec 2000 09:00:17 +0000
(09:00 +0000)
include/stdio.h
patch
|
blob
|
history
diff --git
a/include/stdio.h
b/include/stdio.h
index
8617fea
..
419b58c
100644
(file)
--- a/
include/stdio.h
+++ b/
include/stdio.h
@@
-56,6
+56,10
@@
extern void __flockfile (FILE *__stream);
/* Relinquish the ownership granted for STREAM. */
extern void __funlockfile (FILE *__stream);
+/* Try to acquire ownership of STREAM but do not block if it is not
+ possible. */
+extern int __ftrylockfile (FILE *__stream);
+
# endif
#endif