getprid(2) getprid(2) NAME getprid - get project ID SYNOPSIS #include <sys/types.h> #include <unistd.h> prid_t getprid(void); DESCRIPTION The getprid function returns the project ID for the array session containing the calling process. The initial project ID of an array session is typically assigned at login time, and can be changed with the privileged function setprid(2). The newproj(1) command can be used to start a new array session with a different project ID. For more details on project IDs, see projects(5). SEE ALSO newproj(1), newarraysess(2), setprid(2), array_sessions(5), projects(5). DIAGNOSTICS getprid always returns the project ID. There are no error conditions. Page 1