]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
timer_settime.2: SYNOPSIS: Put timer_gettime() first
authorAlejandro Colomar <alx@kernel.org>
Sat, 18 Mar 2023 13:52:36 +0000 (14:52 +0100)
committerAlejandro Colomar <alx@kernel.org>
Sat, 18 Mar 2023 13:52:38 +0000 (14:52 +0100)
This matches the order in getitimer(2), and so makes it easier to
compare them.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
man2/timer_settime.2

index 29d9ed4d27be9a6c64c525b50060a315464f50c4..c02636554342743e8fd8e1045f1575e7d44419f4 100644 (file)
@@ -14,10 +14,10 @@ Real-time library
 .nf
 .B  #include <time.h>
 .PP
+.BI "int timer_gettime(timer_t " timerid ", struct itimerspec *" curr_value );
 .BI "int timer_settime(timer_t " timerid ", int " flags ,
 .BI "                  const struct itimerspec *restrict " new_value ,
 .BI "                  struct itimerspec *_Nullable restrict " old_value );
-.BI "int timer_gettime(timer_t " timerid ", struct itimerspec *" curr_value );
 .fi
 .PP
 .RS -4