X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=man3%2Fflockfile.3;fp=man3%2Fflockfile.3;h=8473fa9cf0e392228672f08e390f5135bbf13f36;hp=a8a4a3bea408723d8ecca281e820e4498d7980eb;hb=4a3ef8e66ad07656caa1e6a2bc69823926b880e3;hpb=b5b6c4a890795ea76f9b92b817b0a83c6bb4862c diff --git a/man3/flockfile.3 b/man3/flockfile.3 index a8a4a3b..8473fa9 100644 --- a/man3/flockfile.3 +++ b/man3/flockfile.3 @@ -4,19 +4,19 @@ .Dd .Dt flockfile 3 .Os - +.\" .Sh NAME .Nm flockfile, ftrylockfile, funlockfile .Nd stdio file locking - +.\" .Sh SYNOPSIS .Sy #define _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 || _SVID_SOURCE || _BSD_SOURCE - +.\" .In stdio.h .Fn "void flockfile" "FILE *file" .Fn "int ftrylockfile" "FILE *file" .Fn "void funlockfile" "FILE *file" - +.\" .Sh DESCRIPTION .Fn flockfile locks the passed FILE stream for access by the calling thread, potentially @@ -39,18 +39,18 @@ on a file must be equal to the number of calls to .\" .Pp No other thread may do I/O through the locked file while it is locked. - +.\" .Sh IMPLEMENTATION NOTES PDCLib implements the file locking on top of the Mutex primitives added by C11 - +.\" .Sh SEE ALSO .Xr fopen 3 .Xr fclose 3 .Xr unlocked_stdio 3 .Xr mtx_t 3 - +.\" .Sh STANDARDS The locked I/O routines were initially introduced in .St -svid4 , and incorporated into POSIX in -.St -p1003.1-2001 . +.St -p1003.1-2001 . \ No newline at end of file