getpid.2: Minor tweaks to Carlos's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-07-12 21:22:24 +02:00
parent 7693d1e5c0
commit 995865aa06
1 changed files with 4 additions and 3 deletions

View 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),