PHP. Руководство по PHP. 2005
posix_getgid
posix_getgid
(PHP3>= 3.0.10, PHP4, PHP5)posix_getgid --
Return the real group ID of the current process
Description
int posix_getgid (void)
Return the numeric real group ID of the current process. See also
posix_getgrgid() for information on how to
convert this into a useable group name.
posix_geteuid
posix_getgrgid