aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-03-05 02:22:46 +0100
committerAlejandro Colomar <alx@kernel.org>2024-03-05 02:27:48 +0100
commit757c16cb307e6d9d6feec0f69797e94dff7e97ae (patch)
tree707c2edda7c1c7b87e3d02695a3bad14083d1869
parent99f6ea6ac2ce3333ffe4835a32d7341213ed7033 (diff)
downloadman-pages-757c16cb307e6d9d6feec0f69797e94dff7e97ae.tar.gz
clock_nanosleep.2: Use 't' rather than 'request'
It seems much more clear. Cc: Elliott Hughes <enh@google.com> Cc: Stefan Puiu <stefan.puiu@gmail.com> Cc: Bruno Haible <bruno@clisp.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man2/clock_nanosleep.216
1 files changed, 8 insertions, 8 deletions
diff --git a/man2/clock_nanosleep.2 b/man2/clock_nanosleep.2
index 5bda50e180..7715ec3852 100644
--- a/man2/clock_nanosleep.2
+++ b/man2/clock_nanosleep.2
@@ -19,7 +19,7 @@ Real-time library
.nf
.P
.BI "int clock_nanosleep(clockid_t " clockid ", int " flags ,
-.BI " const struct timespec *" request ,
+.BI " const struct timespec *" t ,
.BI " struct timespec *_Nullable " remain );
.fi
.P
@@ -94,7 +94,7 @@ can also be passed in
If
.I flags
is 0, then the value specified in
-.I request
+.I t
is interpreted as an interval relative to the current
value of the clock specified by
.IR clockid .
@@ -104,11 +104,11 @@ If
is
.BR TIMER_ABSTIME ,
then
-.I request
+.I t
is interpreted as an absolute time as measured by the clock,
.IR clockid .
If
-.I request
+.I t
is less than or equal to the current value of the clock,
then
.BR clock_nanosleep ()
@@ -117,7 +117,7 @@ returns immediately without suspending the calling thread.
.BR clock_nanosleep ()
suspends the execution of the calling thread
until either at least the time specified by
-.I request
+.I t
has elapsed,
or a signal is delivered that causes a signal handler to be called or
that terminates the process.
@@ -146,7 +146,7 @@ then it returns one of the positive error number listed in ERRORS.
.SH ERRORS
.TP
.B EFAULT
-.I request
+.I t
or
.I remain
specified an invalid address.
@@ -180,7 +180,7 @@ Linux 2.6,
glibc 2.1.
.SH NOTES
If the interval specified in
-.I request
+.I t
is not an exact multiple of the granularity underlying clock (see
.BR time (7)),
then the interval will be rounded up to the next multiple.
@@ -216,7 +216,7 @@ argument is unused, and unnecessary, when
is
.BR TIMER_ABSTIME .
(An absolute sleep can be restarted using the same
-.I request
+.I t
argument.)
.P
POSIX.1 specifies that