Function setregid

fn setregid()

See the module comment.