getsid function

int getsid(
  1. int pid
)

Returns the session ID of the calling process.

Implementation

int getsid(int pid) => platform.getsid(pid);