about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--include/stdio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 8617fea042..419b58cb51 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