HP 3000 Manuals

getuid [ MPE/iX Developer's Kit Reference Manual Volume I ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume I

getuid 

Returns the real user ID (UID).

Syntax 

     #include <sys/types.h>
     #include <unistd.h>
     uid_t getuid (void);

Parameters 

None.

Return Values 

The real UID of the calling process.

Description 

The getuid() function returns the real user ID (UID) of the calling
process.

Implementation Considerations 

None.

Errors 

None.

See Also 

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



MPE/iX 5.0 Documentation