•  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.29  Psetregid                                                 TOS

 Name:         »Psetregid« - sets the real and/or effective group id 
               for the calling process.

 Gemdosnummer: 335 (0x014f)

 Deklaration:  int32_t Psetregid ( int16_t rgid, int16_t egid);

 Beschreibung: This function sets the real and/or effective group id 
               for the calling process.

               rgid specifies the new real group id and egid specifies 
               the new effective group id for the calling process. If 
               either argument is -1, only the other gets changed

               Setting group ids needs root privileges.

               This call is often used by daemon processes to 
               downgrade their privileges to user level.

 Ergebnis:     Returns E_OK on success or a negative error code 
               otherwise.

 Verfügbar:    since MiNT 1.12

 Gruppe:       Prozessfunktionen

 Querverweis:  Binding   Psetreuid   Psetegid