]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man2/: use consistent closed interval notation for value ranges
authorBrian Inglis <Brian.Inglis@Shaw.ca>
Wed, 8 Feb 2023 20:27:25 +0000 (13:27 -0700)
committerAlejandro Colomar <alx@kernel.org>
Sun, 12 Feb 2023 19:23:53 +0000 (20:23 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man2/clock_getres.2
man2/clock_nanosleep.2
man2/getitimer.2
man2/gettimeofday.2
man2/nanosleep.2
man2/utimensat.2

index c10f980faa268c6227cb57fe45a02142c4577c5a..8d90baaaabd6f0c661600912a9964c06a54d7720 100644 (file)
@@ -272,7 +272,7 @@ does not refer to a valid instance of a clock object.
 .I tp.tv_sec
 is negative or
 .I tp.tv_nsec
-is outside the range [0..999,999,999].
+is outside the range [0999,999,999].
 .TP
 .B EINVAL
 The
index 5afc2025c8533c44d6ad8661ea04e33f5f1244a6..5da8d15699c25fee510b2e7e74bceb15d3db98f9 100644 (file)
@@ -158,7 +158,7 @@ The sleep was interrupted by a signal handler; see
 .B EINVAL
 The value in the
 .I tv_nsec
-field was not in the range 0 to 999999999 or
+field was not in the range [0, 999999999] or
 .I tv_sec
 was negative.
 .TP
index f3fe06fb972c4950f34e7be01ce0a5869f28659b..f092a2fc4d4fc5056c8c019b45477db4b4ad69d9 100644 (file)
@@ -158,7 +158,7 @@ or (since Linux 2.6.22) one of the
 .I tv_usec
 fields in the structure pointed to by
 .I new_value
-contains a value outside the range 0 to 999999.
+contains a value outside the range [0, 999999].
 .SH STANDARDS
 POSIX.1-2001, SVr4, 4.4BSD (this call first appeared in 4.2BSD).
 POSIX.1-2008 marks
@@ -253,7 +253,7 @@ POSIX.1-2001 says that
 .BR setitimer ()
 should fail if a
 .I tv_usec
-value is specified that is outside of the range 0 to 999999.
+value is specified that is outside of the range [0, 999999].
 However, up to and including Linux 2.6.21,
 Linux does not give an error, but instead silently
 adjusts the corresponding seconds value for the timer.
index 9fe7a415daae56739be64b2ff2a41db48f742ca6..d7f1dbe2b9f6f023aa6500f1c551d054680c9990 100644 (file)
@@ -152,7 +152,7 @@ is invalid.
 .I tv.tv_sec
 is negative or
 .I tv.tv_usec
-is outside the range [0..999,999].
+is outside the range [0999,999].
 .TP
 .BR EINVAL " (since Linux 4.3)"
 .\" commit e1d7ba8735551ed79c7a0463a042353574b96da3
index a6f9e627f4eb0aff543ae0e2a506570c9f6483ee..12e0cee84b85b6c8a614bba0cf76c3b418b262d0 100644 (file)
@@ -66,7 +66,7 @@ The
 structure
 is used to specify intervals of time with nanosecond precision.
 .PP
-The value of the nanoseconds field must be in the range 0 to 999999999.
+The value of the nanoseconds field must be in the range [0, 999999999].
 .PP
 Compared to
 .BR sleep (3)
@@ -106,7 +106,7 @@ again and continue with the pause.
 .B EINVAL
 The value in the
 .I tv_nsec
-field was not in the range 0 to 999999999 or
+field was not in the range [0, 999999999] or
 .I tv_sec
 was negative.
 .SH STANDARDS
index 0ea9ebe9e2218b4f50fb97641d80b806c8cf50c4..c2e6a9164917e065ca06f95f60909fec92346700 100644 (file)
@@ -272,7 +272,7 @@ Invalid value in
 .B EINVAL
 Invalid value in one of the
 .I tv_nsec
-fields (value outside range 0 to 999,999,999, and not
+fields (value outside range [0, 999,999,999], and not
 .B UTIME_NOW
 or
 .BR UTIME_OMIT );