Method System.setegid()
- Method setegid
 intsetegid(integid)- Description
 Set the effective group ID to
egid. Ifegidis-1the uid for "nobody" will be used.- Returns
 Returns the current errno.
- Throws
 Throws an error if there is no "nobody" user when
egidis-1.- Note
 This function isn't available on all platforms.