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

getuid

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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)

Feedback to webmaster