]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getpid.2: Minor tweaks to Carlos's patch
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 12 Jul 2017 19:22:24 +0000 (21:22 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 12 Jul 2017 19:22:24 +0000 (21:22 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/getpid.2

index 45d71a683ff30605a3f003e27fa99584732ece2d..dc7631a004310f3ebfc3665a6c92164759211d4b 100644 (file)
@@ -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),