contents index previous next
Unix.setgid()
syntax:
Unix.setgid(id)
where:
id - group id to set.
return:
number - 0 for success, -1 for error.
description:
Changes the group ID to the given ID, if allowed.
see:
Unix.setuid()
Unix.setsid()