aboutsummaryrefslogtreecommitdiff
path: root/include/stdio.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-22 09:00:17 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-22 09:00:17 +0000
commitdd04074742c1a408c47a8c879e9206fcacc9e5ba (patch)
tree5955af49ea0c46bed27a4d62f42ccc066eae9cd8 /include/stdio.h
parent912f97da3d96796a2e2ffe2cd91b4d5a2a2472e1 (diff)
downloadglibc-dd04074742c1a408c47a8c879e9206fcacc9e5ba.zip
glibc-dd04074742c1a408c47a8c879e9206fcacc9e5ba.tar.gz
glibc-dd04074742c1a408c47a8c879e9206fcacc9e5ba.tar.bz2
Add __ftrylockfile prototype.
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 8617fea..419b58c 100644
--- 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