•  Back 
  •  Libraries 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : Pure C Library Documentation
Author      : John Kormylo
Version     : LIB.HYP 1.0
Subject     : Documentation/Pure C Library
Nodes       : 1309
Index Size  : 32068
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ Psetgid ]

#include <tos.h>

int Psetgid( int id );

  <id> is the group ID to be assigned to the calling program.
        Must be a positive number from 1-255.


Function assigns a group ID to a process ONLY no ID has been
previously assigned (i.e.; current id = 0).  Group ID will be
inherited by all child processes.

It returns <id> if successful, or a BIOS/GEMDOS Error Code.

MiNT Opcode 277

See also MiNT and Fchown().