home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / man / cat2 / getgid.0 < prev    next >
Text File  |  1993-12-07  |  1KB  |  67 lines

  1.  
  2. GETGID(2)                  UNIX Programmer's Manual                  GETGID(2)
  3.  
  4. NNAAMMEE
  5.      ggeettggiidd, ggeetteeggiidd - get group process identification
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<ssyyss//ttyyppeess..hh>>
  9.  
  10.      _g_i_d___t
  11.      ggeettggiidd(_v_o_i_d)
  12.  
  13.      _g_i_d___t
  14.      ggeetteeggiidd(_v_o_i_d)
  15.  
  16. DDEESSCCRRIIPPTTIIOONN
  17.      The ggeettggiidd() function returns the real group ID of the calling process,
  18.      ggeetteeggiidd() returns the effective group ID of the calling process.
  19.  
  20.      The real group ID is specified at login time.
  21.  
  22.      The real group ID is the group of the user who invoked the program.  As
  23.      the effective group ID gives the process additional permissions during
  24.      the execution of ``_s_e_t_­_g_r_o_u_p_­_I_D'' mode processes, ggeettggiidd() is used to de­
  25.      termine the real­user­id of the calling process.
  26.  
  27. EERRRROORRSS
  28.      The ggeettggiidd() and ggeetteeggiidd() functions are always successful, and no return
  29.      value is reserved to indicate an error.
  30.  
  31. SSEEEE AALLSSOO
  32.      getuid(2),  setregid(2),  setgid(3)
  33.  
  34. SSTTAANNDDAARRDDSS
  35.      GGeettggiidd() and ggeetteeggiidd() conform to IEEE Std 1003.1­1988 (``POSIX'').
  36.  
  37. 4.2 Berkeley Distribution       March 10, 1991                               1
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.