DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

proc_valid(D3)


proc_valid -- check whether a referenced process has exited

Synopsis

   #include <sys/types.h>
   #include <sys/ddi.h>
   

boolean_t proc_valid(void *pref)

Description

proc_valid determines whether the process pref, referenced by a previous proc_ref(D3) call has exited.

Arguments


pref
Identifier obtained by a previous call to proc_ref(D3).

Return values

proc_valid returns B_TRUE (non-zero) if the specified process has not exited, otherwise FALSE (0).

Usage

Context and synchronization

Non-blockable, interrupt, user, or blockable context.

Hardware applicability

All

Version applicability

ddi: 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp

References

proc_ref(D3), proc_signal(D3), proc_unref(D3)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005