•  Back 
  •  GEMDOS Function Reference 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-FilePgetgid()
Pgeteuid()
Pgetegid()                                                           GEMDOS

Syntax

WORD Pgetegid( VOID )

Function      Pgetegid() returns the effective group ID of the process.

Opcode        313 (0x139)

Availability  Available when a 'MiNT' cookie with a version of at least
              0.95 exists.

Binding       move.w   #$139,-(sp)
              trap     #1
              addq.l   #2,sp

Comments      The effective group ID of a process will be different than
              its actual group ID if its set gid bit is set. This
              mechanism allows users to grant file access to other users.

See Also      Pgetgid(), Pgeteuid()