]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
doc: Use @code around errno constants.
authorCollin Funk <collin.funk1@gmail.com>
Wed, 16 Jul 2025 23:57:06 +0000 (16:57 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Wed, 16 Jul 2025 23:57:06 +0000 (16:57 -0700)
* 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.

ChangeLog
doc/glibc-functions/sethostname.texi
doc/posix-functions/chmod.texi
doc/posix-functions/mkfifoat.texi
doc/posix-functions/mknodat.texi
doc/posix-functions/posix_fallocate.texi
doc/posix-functions/ptsname_r.texi
doc/posix-functions/setenv.texi
doc/posix-functions/symlinkat.texi
doc/posix-functions/unsetenv.texi

index d2b4e6c14eb3bc40cdcbfc5c0c112cdc9c1769b8..79813e051fc238db8dc45915be518fb4e509145c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+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.
index e08cfb474ffb0cc1a3da51107c0dbbb3cbfec84b..51d1e3cb8a662b3ed635074662c58148b0130482 100644 (file)
@@ -25,7 +25,7 @@ Portability problems fixed by Gnulib:
 @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.
index 482210f3d3ee7555e54abe416f93122eaf663d97..cbc7dc3c3a388c13061f9fb05dbcbeece5cfe3e4 100644 (file)
@@ -14,7 +14,7 @@ This function does not fail when the file name argument ends in a slash
 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.
index a7e8b9789e4f173202cced545d60b06109b0a4d9..3e96a1e4323a1f19851ec6f1c2b40e4e3b483ac2 100644 (file)
@@ -26,7 +26,7 @@ macOS 14.
 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
index e9d3ba2810502c5089f07807e9bc01a9fedd5ce6..ea656b54feb2c38e8d8b2b755f70f08bee0e8e84 100644 (file)
@@ -26,7 +26,7 @@ Haiku.
 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
index 09b4e5bd5c96fa80e6f3e669ab94cc9a59fe611a..0387d13e03da6422b5af89cb86e325a80fd345b6 100644 (file)
@@ -20,7 +20,7 @@ Portability problems not fixed by Gnulib:
 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
index 5237f6a3788d04064ab6100796a4706e49f830ed..68e89bded0894514c8254c0054e437e705edbdd7 100644 (file)
@@ -32,7 +32,7 @@ When this function fails, it returns -1 instead of the error code
 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
index 59d7ebaf0ecd3e81c31c5b272aee95afc1c4359e..07eddd57703737fbc50670f4c29c9e4c734b0bd1 100644 (file)
@@ -13,7 +13,7 @@ Portability problems fixed by Gnulib:
 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
index f9a0281fbdadf5e7f5e61a47ebb669c258330772..c3199cdd98c08f9b4af6a229c8d4f663125ed7bd 100644 (file)
@@ -26,7 +26,7 @@ macOS 14, AIX 7.1.
 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
index 0d6d263f768780ba4ca04d096ba16df40a258e8c..2699fad5ad8cb89346d2c57d03d1aa7807d80f4c 100644 (file)
@@ -17,7 +17,7 @@ This function has the return type @samp{void} instead of @samp{int} on some
 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