mirror of https://github.com/mkerrisk/man-pages
getpid.2: Minor tweaks to Carlos's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7693d1e5c0
commit
995865aa06
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue