From d8be53ac0d10308678d9ea3df94f37c048e179a5 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 25 Feb 2019 16:42:56 +0100 Subject: [PATCH] getcpu.2: Note version where glibc wrapper was added Signed-off-by: Michael Kerrisk --- man2/getcpu.2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man2/getcpu.2 b/man2/getcpu.2 index 88f8cdb8e..c6e5bdbff 100644 --- a/man2/getcpu.2 +++ b/man2/getcpu.2 @@ -67,6 +67,10 @@ Arguments point outside the calling process's address space. .SH VERSIONS .BR getcpu () was added in kernel 2.6.19 for x86-64 and i386. +Library support was added in glibc 2.29 +(Earlier glibc versions did not provide a wrapper for this system call, +necessitating the use of +.BR syscall (2).) .SH CONFORMING TO .BR getcpu () is Linux-specific.