•  Back 
  •  Prozessfunktionen 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - das Betriebssystem
Author      : 
Version     : tos.hyp (5. März 2013)
Subject     : Programmieren/Atari
Nodes       : 3001
Index Size  : 93602
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Titel
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File5.11.25  Psetgroups                                                TOS

 Name:         »Psetgroups« - sets the supplementary group ids for the 
               calling process.

 Gemdosnummer: 328 (0x0148)

 Deklaration:  int32_t Psetgroups( int16_t len, int16_t *gidset);

 Beschreibung: This function sets the supplementary group ids for the 
               calling process.

               len specifies the length (in words) of the array 
               containing the supplementary group ids to be set. This 
               value must be a positive number not greater than 
               NGROUPS_MAX. If len is a zero, the call will return the 
               number of supplementary group ids those have been set.

               gidset is a pointer to a word array containing the new 
               supplementary group ids for the process.

               Setting new supplementary group ids needs root 
               privileges.

               The NGROUPS_MAX value is returned by Sysconf().

 Ergebnis:     Returns a number of new supplementary group ids for the 
               process on success or a negative GEMDOS error code 
               otherwise.

 Verfügbar:    Sie steht ab MiNT 1.11 zu Verfügung.

 Gruppe:       Prozessfunktionen

 Querverweis:  Binding   Pgetgroups   Sysconf