posix_getsid

posix_getsid -- Get the current sid of the process

Description

int posix_getsid ( int pid)