suse man page for pid_alive

Query: pid_alive

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PID_ALIVE(9)							   Driver Basics						      PID_ALIVE(9)

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.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 PID_ALIVE(9)
Related Man Pages
struct_hrtimer(9) - centos
struct_utrace_engine_ops(9) - suse
utrace_prepare_examine(9) - suse
tapset::task(3stap) - centos
padre::task::eval(3pm) - debian
Similar Topics in the Unix Linux Community
Pid still alive after "control C"