getsid function

int getsid(
  1. int pid
)

Return the session ID of the given process.

Implementation

int getsid(int pid) => native_getsid(pid);