getash(2) getash(2)
getash - get array session handle
#include <sys/types.h>
#include <unistd.h>
ash_t getash(void);
The getash function returns the array session handle (ASH) for the array
session that contains the calling process.
The handle for an array session is normally assigned by the system when
the array session is first created. This can be overridden using the
privileged setash(2) function. For details, see the man pages for
setash(2).
newarraysess(2), setash(2), array_sessions(5).
getash always returns the array session handle. There are no error
conditions.
PPPPaaaaggggeeee 1111 [ Back ]
|