mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +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. */
|
/* Relinquish the ownership granted for STREAM. */
|
||||||
extern void __funlockfile (FILE *__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
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user