home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man2 / getgid.2 < prev    next >
Encoding:
Text File  |  1975-06-26  |  684 b   |  30 lines

  1. .th GETGID II 5/15/74
  2. .sh NAME
  3. getgid  \*-  get group identifications
  4. .sh SYNOPSIS
  5. (getgid = 47.; not in assembler)
  6. .br
  7. .ft B
  8. sys getgid
  9. .ft B
  10. .s3
  11. getgid( )
  12. .ft R
  13. .sh DESCRIPTION
  14. .it Getgid
  15. returns a word (in r0),
  16. the low byte of which contains
  17. the real group ID of
  18. the current process.
  19. The high byte contains the effective group ID
  20. of the current process.
  21. The real group ID identifies the group of the person who is logged in,
  22. in contradistinction to the effective group ID, which
  23. determines his access permission at the moment.
  24. It is thus useful to programs which operate using
  25. the ``set group ID'' mode, to find out who invoked them.
  26. .sh "SEE ALSO"
  27. setgid (II)
  28. .sh DIAGNOSTICS
  29. \*-
  30.