HPlogo MPE/iX Developer's Kit Reference Manual Volume I: HP 3000 MPE/iX Computer Systems > Chapter 4  POSIX/iX Library Function Descriptions

geteuid

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Returns the effective user ID.

Syntax

   #include <sys/types.h>

   #include <unistd.h> 

   uid_t geteuid (void);

Parameters

None.

Return Values

The effective UID of the calling process.

Description

The geteuid() function returns the effective user ID (UID) of the calling process.

Implementation Considerations

None.

Errors

None.

See Also

getegid(), getgid(), getuid(), POSIX.1 (Section 4.2.1)

Feedback to webmaster