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