diff options
author | Andreas Jaeger <aj@suse.de> | 2000-12-22 09:00:17 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-12-22 09:00:17 +0000 |
commit | dd04074742c1a408c47a8c879e9206fcacc9e5ba (patch) | |
tree | 5955af49ea0c46bed27a4d62f42ccc066eae9cd8 /include | |
parent | 912f97da3d96796a2e2ffe2cd91b4d5a2a2472e1 (diff) | |
download | glibc-dd04074742c1a408c47a8c879e9206fcacc9e5ba.tar.gz glibc-dd04074742c1a408c47a8c879e9206fcacc9e5ba.tar.xz glibc-dd04074742c1a408c47a8c879e9206fcacc9e5ba.zip |
Add __ftrylockfile prototype.
Diffstat (limited to 'include')
-rw-r--r-- | include/stdio.h | 4 |
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 |