* doc/glibc-headers/sys_file.texi: New file.
* doc/gnulib.texi (Glibc Header File Substitutes): Include it.
+2022-09-03 Bruno Haible <bruno@clisp.org>
+
+ sys_file: Document this module.
+ * doc/glibc-headers/sys_file.texi: New file.
+ * doc/gnulib.texi (Glibc Header File Substitutes): Include it.
+
2022-09-03 Bruno Haible <bruno@clisp.org>
stdckdint: Add C++ tests.
--- /dev/null
+@node sys/file.h
+@section @file{sys/file.h}
+
+Declares the function @code{flock}.
+
+Gnulib module: sys_file
+
+Portability problems fixed by Gnulib:
+@itemize
+@item
+This header file is missing on some platforms:
+MSVC 14.
+@end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@item
+This header file does not declare the @code{flock} function on some platforms:
+AIX 7.1, HP-UX 11.23, Solaris 11.4.
+@end itemize
* pty.h::
* resolv.h::
* shadow.h::
+* sys/file.h::
* sys/ioctl.h::
* sys/random.h::
* sysexits.h::
@include glibc-headers/pty.texi
@include glibc-headers/resolv.texi
@include glibc-headers/shadow.texi
+@include glibc-headers/sys_file.texi
@include glibc-headers/sys_ioctl.texi
@include glibc-headers/sys_random.texi
@include glibc-headers/sysexits.texi