Gets the process group ID of the session leader. This function is supported on OpenVMS Integrity servers and Alpha only. Format #include <unistd.h> pid_t getsid (pid_t pid);