posix_setegid

Example

 bool posix_setegid ( int $gid ) 

Description

Set the effective group ID of the current process. This is a privileged function and needs appropriate privileges (usually root) on the system to be able to perform this function.

Return Values

Returns TRUE on success or FALSE on failure.