Loading...
Select Version
&pagelevel(4)&pagelevel
Syntax | #include <unistd.h> pid_t getsid(pid_t pid); | |
Description | The | |
Return val. | Process group ID | |
if successful. | ||
| (pid_t)-1 | if an error occurs. |
Errors |
| |
| The process with the process ID pid is not in the same session as the calling process, and the implementation does not support access by the calling process to the session number of the specified process. | |
| There is no process with the process ID pid. | |
See also |
|