Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pidalive(3X) — OSF1 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

kill(2)

PIDALIVE(3X)  —  Subroutines

NAME

pidalive − report liveliness of a process

SYNOPSIS


#include <codelibs/boolean.h>
#include <codelibs/pidalive.h>
 boolean pidalive(int pid);
 CC ... -lcodelibs
 

DESCRIPTION

Pidalive returns TRUE if the process denoted by pid exists - otherwise FALSE is returned.  Pidalive uses kill(2) to see if the process is still alive. No permission for using kill(2) on the process is needed so this function works equally well for superusers and normal users.

Process numbers less than or equal to zero (0) always cause pidalive to return FALSE. 

SEE ALSO

kill(2)

  —  codelibs  —  C++

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026