[PATCH] getcpu.2: getcpu() now has a glibc wrapper; remove mention of syscall(2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The glibc wrapper was added in glibc 2.29, release on 1 Feb 2019.

Signed-off-by: Tobias Klauser <tklauser@xxxxxxxxxx>
---
 man2/getcpu.2 | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/man2/getcpu.2 b/man2/getcpu.2
index c66f3d4a139e..88f8cdb8eb73 100644
--- a/man2/getcpu.2
+++ b/man2/getcpu.2
@@ -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.
-- 
2.20.0




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux