.Dd\r
.Dt flockfile 3\r
.Os\r
-\r
+.\"\r
.Sh NAME\r
.Nm flockfile, ftrylockfile, funlockfile\r
.Nd stdio file locking\r
-\r
+.\"\r
.Sh SYNOPSIS\r
.Sy #define _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 || _SVID_SOURCE || _BSD_SOURCE\r
-\r
+.\"\r
.In stdio.h\r
.Fn "void flockfile" "FILE *file"\r
.Fn "int ftrylockfile" "FILE *file"\r
.Fn "void funlockfile" "FILE *file"\r
-\r
+.\"\r
.Sh DESCRIPTION\r
.Fn flockfile\r
locks the passed FILE stream for access by the calling thread, potentially \r
.\"\r
.Pp\r
No other thread may do I/O through the locked file while it is locked.\r
-\r
+.\"\r
.Sh IMPLEMENTATION NOTES\r
PDCLib implements the file locking on top of the Mutex primitives added by C11\r
-\r
+.\"\r
.Sh SEE ALSO\r
.Xr fopen 3\r
.Xr fclose 3\r
.Xr unlocked_stdio 3\r
.Xr mtx_t 3\r
-\r
+.\"\r
.Sh STANDARDS\r
The locked I/O routines were initially introduced in \r
.St -svid4 ,\r
and incorporated into POSIX in \r
-.St -p1003.1-2001 .\r
+.St -p1003.1-2001 .
\ No newline at end of file