asashofpid - obtain the array session handle of a process
SYNOPSIS
#include <sys/types.h>
#include <arraysvcs.h>
ash_t *asashofpid(pid_t PID);
DESCRIPTION
The asashofpid function returns the array session handle
of the process with process id PID. The process is
assumed to run on the local machine. If PID is negative,
then the array session handle of the current process is
returned.
NOTES
asashofpid is found in the library "libarray.so", and will
be loaded if the option "-larray" is used with cc(1) or
ld(1).
SEE ALSO
getash(2), asashisglobal(3X), aserrorcode(3X), aspidsi
nash(3X), array_sessions(5).
DIAGNOSTICS
asashofpid returns the array session handle of the speci
fied process if successful, or -1LL if not. If unsuccess
ful, aserrorcode(3X) will be set appropriately.
Man(1) output converted with
man2html