mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Add __ftrylockfile prototype.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user