sys_getpgid  [kernel/sys.c]


Gets process group ID.

Arguments

eax 132
ebx Process ID. If this value is 0 then group ID of the current process is returned.

Return values

If the system call succeeds the return value is the process' group IDs.
If the system call fails the return value is -ESRCH meaning that the value in ebx does not match any process.

Remarks

n/a

Compatibility

n/a