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.31 Psetuid TOS Name: »Psetuid« - Alter the user ID of a process. Opcode: 272 Syntax: int16_t Psetuid ( int16_t id ); Description: The function Psetuid sets the user ID of the current process to id. This must be a number between 0 and 255. The function fails if the user ID of the process does not have the value 0, i.e. once set, the user ID can no longer be altered. Return value: The function can return the following results: 0-255 : No error has occurred (the new ID) EACCDN: The process does not have authority to alter its ID Availability: As of the first in MultiTOS integrated MiNT version 1.04. Group: Process functions See also: Binding Psetgid