diff options
Diffstat (limited to '')
-rw-r--r-- | man2/getcpu.2 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/man2/getcpu.2 b/man2/getcpu.2 index f90401f..4525470 100644 --- a/man2/getcpu.2 +++ b/man2/getcpu.2 @@ -4,7 +4,7 @@ .\" .\" 2008, mtk, various edits .\" -.TH getcpu 2 2023-07-15 "Linux man-pages 6.05.01" +.TH getcpu 2 2023-10-31 "Linux man-pages 6.7" .SH NAME getcpu \- determine CPU and NUMA node on which the calling thread is running .SH LIBRARY @@ -14,7 +14,7 @@ Standard C library .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <sched.h> -.PP +.P .BI "int getcpu(unsigned int *_Nullable " cpu ", \ unsigned int *_Nullable " node ); .fi @@ -35,7 +35,7 @@ When either or .I node is NULL nothing is written to the respective pointer. -.PP +.P The information placed in .I cpu is guaranteed to be current only at the time of the call: @@ -67,21 +67,21 @@ glibc 2.29. .\" .SS C library/kernel differences The kernel system call has a third argument: -.PP +.P .in +4n .nf .BI "int getcpu(unsigned int *" cpu ", unsigned int *" node , .BI " struct getcpu_cache *" tcache ); .fi .in -.PP +.P The .I tcache argument is unused since Linux 2.6.24, and (when invoking the system call directly) should be specified as NULL, unless portability to Linux 2.6.23 or earlier is required. -.PP +.P .\" commit 4307d1e5ada595c87f9a4d16db16ba5edb70dcb1 .\" Author: Ingo Molnar <mingo@elte.hu> .\" Date: Wed Nov 7 18:37:48 2007 +0100 |