]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
clock_getres.2: Note that CPU-time clocks are not settable.
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 29 Mar 2020 20:11:24 +0000 (22:11 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 29 Mar 2020 20:11:24 +0000 (22:11 +0200)
Explicitly note that CLOCK_PROCESS_CPUTIME_ID and
CLOCK_PROCESS_CPUTIME_ID are not settable.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/clock_getres.2

index 5395f9fbfc4f8d796454a4bdfedca36faff74c44..2eb8d97a4c60469e2bb09c2a02f1b37f4e6f52ab 100644 (file)
@@ -203,9 +203,11 @@ or similar.
 .BR CLOCK_PROCESS_CPUTIME_ID " (since Linux 2.6.12)"
 Per-process CPU-time clock
 (measures CPU time consumed by all threads in the process).
+On Linux, this clock is not settable.
 .TP
 .BR CLOCK_THREAD_CPUTIME_ID " (since Linux 2.6.12)"
 Thread-specific CPU-time clock.
+On Linux, this clock is not settable.
 .SH RETURN VALUE
 .BR clock_gettime (),
 .BR clock_settime (),