•  Back 
  •  Process functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File5.12.23  Pseteuid                                                  TOS

 Name:         »Pseteuid« - Sets the effective user ID for the calling 
               process.

 Opcode:       323 (0x0143)

 Syntax:       int32_t Pseteuid ( int16_t euid );

 Description:  euid specifies the new effective user ID for the 
               calling process.

               Prior to MiNT version 1.12 this call contained a bug 
               affecting its functionality. Setting effective user ID 
               needs root privileges.

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

 Return value: Returns new euid on success or a negative GEMDOS error 
               code otherwise.

 Availability: As of MiNT 1.11.

 Group:        Process functions

 See also:     Binding   Psetegid   Psetuid   Psetreuid