method

setregid

v1_8_6_287 - Show latest stable - Class: Process::Sys
setregid(p1, p2)
public

Sets the (integer) real and/or effective group IDs of the current process to rid and eid, respectively. A value of -1 for either means to leave that ID unchanged. Not available on all platforms.