GETGID.2
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:

OS Develop

Development Platform:

WINDOWS

  1. GETGID(2)                 Minix Programmer's Manual                  GETGID(2)
  2. NAME
  3.      getgid, getegid - get group identity
  4. SYNOPSIS
  5.      #include <sys/types.h>
  6.      #include <unistd.h>
  7.      gid_t getgid(void)
  8.      gid_t getegid(void)
  9. DESCRIPTION
  10.      Getgid returns the real group ID of  the  current  process,  getegid  the
  11.      effective group ID.
  12.      The real group ID is specified at login time.
  13.      The effective group ID  is  more  transient,  and  determines  additional
  14.      access  permission during execution of a ``set-group-ID'' process, and it
  15.      is for such processes that getgid is most useful.
  16. SEE ALSO
  17.      getuid(2), setgid(2).
  18. 5BSD                             January 7, 1986                             1