asashofpid(3x)
asashofpid - obtain the array session handle of a process
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME 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), aspidsinash(3X), array_sessions(5). DIAGNOSTICS asashofpid returns the array session handle of the specified process if successful, or -1LL if not. If unsuccessful, aserrorcode(3X) will be set appropriately.