getpid
$
sem
->getpid(
sem
)
Returns the process ID of the last process that operated on semaphore
sem
.