aboutsummaryrefslogtreecommitdiff
path: root/manual/filesys.texi
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-01-07 11:42:04 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-01-07 11:42:04 +0100
commit010fe2317732b009e096cba9df14d5a56ec28de9 (patch)
treeaa3b9b35ea883421ef6d66161beaabbee59ff639 /manual/filesys.texi
parentb79dc8d0fec37d774d6c7161c96b2cd543c155de (diff)
downloadglibc-010fe2317732b009e096cba9df14d5a56ec28de9.zip
glibc-010fe2317732b009e096cba9df14d5a56ec28de9.tar.gz
glibc-010fe2317732b009e096cba9df14d5a56ec28de9.tar.bz2
manual: Use @code{errno} instead of @var{errno} [BZ #24063]
@var is intended for placeholders (such as function parameters). Actual variables need to use @code because @var causes upper-case output, resulting in a different C identifier.
Diffstat (limited to 'manual/filesys.texi')
-rw-r--r--manual/filesys.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/manual/filesys.texi b/manual/filesys.texi
index ccda36c..28480e7 100644
--- a/manual/filesys.texi
+++ b/manual/filesys.texi
@@ -1098,7 +1098,7 @@ this option is set. This option is a GNU extension.
The return value is computed in the same way as for @code{ftw}.
@code{nftw} returns @math{0} if no failures occurred and all callback
functions returned @math{0}. In case of internal errors, such as memory
-problems, the return value is @math{-1} and @var{errno} is set
+problems, the return value is @math{-1} and @code{errno} is set
accordingly. If the return value of a callback invocation was non-zero
then that value is returned.
@@ -3524,9 +3524,9 @@ directory, and returns @var{template}. As with @code{mktemp} and
@samp{XXXXXX}.
If @code{mkdtemp} cannot create an uniquely named directory, it returns
-@code{NULL} and sets @var{errno} appropriately. If @var{template} does
+@code{NULL} and sets @code{errno} appropriately. If @var{template} does
not end with @samp{XXXXXX}, @code{mkdtemp} returns @code{NULL} and does
-not modify @var{template}. @var{errno} will be set to @code{EINVAL} in
+not modify @var{template}. @code{errno} will be set to @code{EINVAL} in
this case.
The directory is created using mode @code{0700}.