about summary refs log tree commit diff
path: root/manual/setjmp.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/setjmp.texi
parentb79dc8d0fec37d774d6c7161c96b2cd543c155de (diff)
downloadglibc-010fe2317732b009e096cba9df14d5a56ec28de9.tar.gz
glibc-010fe2317732b009e096cba9df14d5a56ec28de9.tar.xz
glibc-010fe2317732b009e096cba9df14d5a56ec28de9.zip
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/setjmp.texi')
-rw-r--r--manual/setjmp.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/setjmp.texi b/manual/setjmp.texi
index 3ce202d024..17bdcaec99 100644
--- a/manual/setjmp.texi
+++ b/manual/setjmp.texi
@@ -300,7 +300,7 @@ information about the current context's stack may be in the
 architecture-specific subfields of the @code{uc_mcontext} field.
 
 The function returns @code{0} if successful.  Otherwise it returns
-@code{-1} and sets @var{errno} accordingly.
+@code{-1} and sets @code{errno} accordingly.
 @end deftypefun
 
 The @code{getcontext} function is similar to @code{setjmp} but it does
@@ -425,7 +425,7 @@ installed and execution continues as described in this context.
 If @code{swapcontext} succeeds the function does not return unless the
 context @var{oucp} is used without prior modification by
 @code{makecontext}.  The return value in this case is @code{0}.  If the
-function fails it returns @code{-1} and sets @var{errno} accordingly.
+function fails it returns @code{-1} and sets @code{errno} accordingly.
 @end deftypefun
 
 @heading Example for SVID Context Handling