]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getcpu.2: getcpu() now has a glibc wrapper; remove mention of syscall(2)
authorTobias Klauser <tklauser@distanz.ch>
Wed, 6 Feb 2019 08:07:53 +0000 (09:07 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 25 Feb 2019 15:40:59 +0000 (16:40 +0100)
The glibc wrapper was added in glibc 2.29, release on 1 Feb 2019.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/getcpu.2

index c66f3d4a139eb2aee55929a4ecbb365d2702decf..88f8cdb8eb736f2d76e82248212ab3da0dd23cbb 100644 (file)
@@ -19,9 +19,6 @@ getcpu \- determine CPU and NUMA node on which the calling thread is running
 .BI "int getcpu(unsigned *" cpu ", unsigned *" node \
 ", struct getcpu_cache *" tcache );
 .fi
-.PP
-.IR Note :
-There is no glibc wrapper for this system call; see NOTES.
 .SH DESCRIPTION
 The
 .BR getcpu ()
@@ -82,12 +79,6 @@ The intention of
 is to allow programs to make optimizations with per-CPU data
 or for NUMA optimization.
 .PP
-Glibc does not provide a wrapper for this system call; call it using
-.BR syscall (2);
-or use
-.BR sched_getcpu (3)
-instead.
-.PP
 The
 .I tcache
 argument is unused since Linux 2.6.24.