proc_valid(D3) proc_valid(D3)
NAME
proc_valid - check whether a referenced process has exited
SYNOPSIS
#include <sys/types.h>
#include <sys/ddi.h>
boolean_t proc_valid(void *pref)
Arguments
pref Identifier obtained by a previous call to
proc_ref(D3).
DESCRIPTION
proc_valid determines whether the process pref, referenced by
a previous proc_ref(D3) call has exited.
Return Values
proc_valid returns TRUE if the specified process has not
exited, otherwise FALSE.
USAGE
Level
Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks
may be held across calls to this function.
REFERENCES
proc_ref(D3), proc_signal(D3), proc_unref(D3)
NOTICES
Portability
All processors
Applicability
ddi: 5, 5mp, 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 1