-.\"O Since glibc version 2.3.4,
-.\"O the glibc wrapper function for
-.\"O .BR getpid ()
-.\"O caches PIDs,
-.\"O so as to avoid additional system calls when a process calls
-.\"O .BR getpid ()
-.\"O repeatedly.
-glibc バージョン 2.3.4 以降では、
-glibc の
-.BR getpid ()
-のラッパー関数は PID をキャッシュする。
-これは、プロセスが繰り返し
-.BR getpid ()
-を呼び出した場合にその都度システムコールを呼ぶのを避けるためである。
-.\"O Normally this caching is invisible,
-.\"O but its correct operation relies on support in the wrapper functions for
-.\"O .BR fork (2),
-.\"O .BR vfork (2),
-.\"O and
-.\"O .BR clone (2):
-.\"O if an application bypasses the glibc wrappers for these system calls by using
-.\"O .BR syscall (2),
-.\"O then a call to
-.\"O .BR getpid ()
-.\"O in the child will return the wrong value
-.\"O (to be precise: it will return the PID of the parent process).
-通常は、このキャッシュ処理が見えることはないが、
-キャッシュ処理が正しく働くためには
-.BR fork (2),
-.BR vfork (2),
-.BR clone (2)
-のラッパー関数でのサポートが必要である。
-アプリケーションがこれらのシステムコールを呼び出す際に、
-glibc のラッパー関数を経由せずに
-.BR syscall (2)
-を使った場合には、子プロセスで
-.BR getpid ()
-を呼び出すと間違った値が返ることだろう
-(正確にいうと、親プロセスの PID が返される)。