[PATCH] manual: Fix a format tag for a return value from 'nanosleep'

Maciej W. Rozycki macro@redhat.com
Wed Jun 4 16:14:25 GMT 2025


We use @code rather than @math for non-arithmetic function return 
values, so adjust one quoted for 'nanosleep' in the description of 
'clock_nanosleep'.
---
 manual/time.texi |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

glibc-doc-clock-nanosleep-format.diff
Index: glibc/manual/time.texi
===================================================================
--- glibc.orig/manual/time.texi
+++ glibc/manual/time.texi
@@ -3237,7 +3237,7 @@ the caller with a way to specify the clo
 time and express the sleep interval in absolute or relative terms.  It
 returns zero when returning because the interval is over, and a positive
 error number corresponding to the error encountered otherwise.  This is
-different from @code{nanosleep}, which returns @math{-1} upon failure and
+different from @code{nanosleep}, which returns @code{-1} upon failure and
 sets the global variable @code{errno} according to the error encountered
 instead.
 



More information about the Libc-alpha mailing list