setpgid#

Put process $pid into process group $pgid.

תקציר#

POSIX::setpgid($pid, $pgid);

מה מוחזר#

1 on success, 0 on failure. A $pid of 0 means the calling process; a $pgid of 0 means use $pid as the new group ID.

הבדלים מן ה-upstream#

Fully compatible with upstream POSIX.