•  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.30  Psetreuid                                                 TOS

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

 Gemdosnummer: 334 (0x014e)

 Deklaration:  int32_t Psetreuid ( int16_t ruid, int16_t euid);

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

               ruid specifies the new real user id and euid specifies 
               the new effective user id for the calling process. If 
               either argument is -1, only the other gets changed.

               Setting user 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 GEMDOS error code 
               otherwise.

 Verfügbar:    since MiNT 1.12

 Gruppe:       Prozessfunktionen

 Querverweis:  Binding   Psetregid   Pseteuid