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.7 Pgeteuid TOS Name: »Pgeteuid« - Get effective user ID of a process. Opcode: 312 Syntax: int32_t Pgeteuid ( void ); Description: The function Pgeteuid returns the effective user ID of the current process and resembles the system call Pgetuid. The difference lies in that here the effective user ID is returned. This is normally identical to the actual user ID; however, if a program is running that has set the setuid bit, its effective user ID is equal to the (actual) ID of the owner of this program file. File accesses are based, among other things, on the effective user ID, so that the setuid mechanism allows users (particularly the super-user) to permit access by other users. Return value: The return value is the effective user ID of the process. Availability: Available when a 'MiNT' cookie with a version of at least 0.95 exists. Group: Process functions See also: Binding Pgetuid Pgetgid Pgetegid