Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       pid_alive - check that a task structure is not stale

SYNOPSIS

       int pid_alive  (struct task_struct * p);

ARGUMENTS

       p      Task structure to be checked.

DESCRIPTION

       Test  if  a process is not yet dead (at most zombie state) If pid_alive
       fails, then pointers within the task structure can be  stale  and  must
       not be dereferenced.