現在のプロセスのプロセス ID を返します。
#include <unistd.h> pid_t getpid (void);
pid_t getpid (void);
x 現在のプロセスのプロセス ID。