+2025-07-16 Collin Funk <collin.funk1@gmail.com>
+
+ doc: Use @code around errno constants.
+ * doc/posix-functions/mkfifoat.texi: Use @code for errno constants
+ instead of @samp.
+ * doc/posix-functions/mknodat.texi: Likewise.
+ * doc/posix-functions/setenv.texi: Likewise.
+ * doc/posix-functions/symlinkat.texi: Likewise.
+ * doc/posix-functions/unsetenv.texi: Likewise.
+ * doc/glibc-functions/sethostname.texi: Use @code around errno
+ constants.
+ * doc/posix-functions/chmod.texi: Likewise.
+ * doc/posix-functions/posix_fallocate.texi: Likewise.
+ * doc/posix-functions/ptsname_r.texi: Likewise.
+
2025-07-15 Collin Funk <collin.funk1@gmail.com>
doc: Mention copy_file_range stub on GNU/Hurd.
@item
This function is missing on some platforms:
Minix 3.1.8, Cygwin 1.7.x, mingw, MSVC 14, Android 5.1.
-Note that the Gnulib replacement may fail with ENOSYS on some platforms.
+Note that the Gnulib replacement may fail with @code{ENOSYS} on some platforms.
@item
This function is not declared on some platforms:
AIX 7.1, Solaris 10.
and (without the slash) names a non-directory, on some platforms:
AIX 7.2.
@item
-This function fails with a wrong error code (EINVAL instead of ENOTDIR)
+This function fails with a wrong error code (@code{EINVAL} instead of @code{ENOTDIR})
when the file name argument ends in a slash and (without the slash) names
a non-directory, on some platforms:
mingw, MSVC.
Portability problems not fixed by Gnulib:
@itemize
@item
-The gnulib replacement function always fails with @samp{ENOSYS} on
+The gnulib replacement function always fails with @code{ENOSYS} on
some platforms: mingw, MSVC 14.
@item
If the argument exists and is a directory, the gnulib replacement
Portability problems not fixed by Gnulib:
@itemize
@item
-The gnulib replacement function always fails with @samp{ENOSYS} on
+The gnulib replacement function always fails with @code{ENOSYS} on
some platforms:
mingw, MSVC 14.
@item
This function is missing on some platforms:
macOS 14, FreeBSD 6.0, NetBSD 5.0, OpenBSD 7.5, Minix 3.1.8, AIX 5.1, HP-UX 11, Solaris 10, Cygwin 1.5.x, mingw, MSVC 14, Android 4.4.
@item
-POSIX specifies that EINVAL should be returned when the file system doesn't
+POSIX specifies that @code{EINVAL} should be returned when the file system doesn't
support the allocation operation directly. glibc however emulates the file system
allocation with writes where unsupported, and apps have depended on
that long term implementation. This is both inefficient, and as of
on some platforms:
macOS 14, FreeBSD 14.0, Android 4.3.
@item
-When this function fails with ERANGE, it stores an empty string as result
+When this function fails with @code{ERANGE}, it stores an empty string as result
on some platforms:
NetBSD 10.0, Solaris 11 OmniOS.
@end itemize
This function is missing on some platforms:
HP-UX 11.23, Solaris 9, mingw, MSVC 14.
@item
-On some platforms, this function does not fail with @samp{EINVAL} when
+On some platforms, this function does not fail with @code{EINVAL} when
passed an empty string or a string containing @samp{=}:
Mac OS X 10.5, FreeBSD 6.0, NetBSD 1.6, OpenBSD 7.5, Cygwin 1.5.x.
@item
Portability problems not fixed by Gnulib:
@itemize
@item
-This function always fails with @samp{ENOSYS} on platforms that don't
+This function always fails with @code{ENOSYS} on platforms that don't
support symlinks:
mingw, MSVC 14.
@end itemize
platforms:
FreeBSD 6.0, NetBSD 1.6, OpenBSD 3.8.
@item
-On some platforms, this function does not fail with @samp{EINVAL} when
+On some platforms, this function does not fail with @code{EINVAL} when
passed an empty string or a string containing @samp{=}:
FreeBSD 6.0, NetBSD 1.6, OpenBSD 4.7.
@item