From 995865aa060c0945d5b96a459d74a2264d9a1df6 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 12 Jul 2017 21:22:24 +0200 Subject: [PATCH] getpid.2: Minor tweaks to Carlos's patch Signed-off-by: Michael Kerrisk --- man2/getpid.2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/man2/getpid.2 b/man2/getpid.2 index 45d71a683..dc7631a00 100644 --- a/man2/getpid.2 +++ b/man2/getpid.2 @@ -113,10 +113,11 @@ may return the wrong value even when invoking .BR clone (2) via the glibc wrapper function. -Since glibc version 2.25, the PID cache is removed, and calls to +Since glibc version 2.25, the PID cache is removed: +.\" commit c579f48edba88380635ab98cb612030e3ed8691e +calls to .BR getpid () -will not be cached. - +always invoke the actual system call, rather than returning a cached value. .SH SEE ALSO .BR clone (2), .BR fork (2),