getuid(3f)

Name
getuid, getgid, getpid - returns ID of a user, group, or process

Syntax
integer getuid, uid
external getuid
uid = getuid( )

integer getgid, gid
external getgid
gid = getgid( )

integer getpid, pid
external getpid
pid = getpid( )

Description
The getuid function returns the user ID of the caller of the process.

The getgid function returns the group ID of the caller of the process.

The getpid function returns the ID number of the current process.

Files
libU77.a

See Also
getgid(2), getpid(2), getuid(2)