Compaq Fortran for Tru64 UNIX Alpha Systems V5.4

getuid, getgid, getpid (3f)


Syntax

  integer*4 getuid, iuid
  external getuid
  iuid = getuid( )

  integer*4 getgid, igid
  external getgid
  igid = getgid( )

  integer*4 getpid, ipid
  external getpid
  ipid = 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.

See Also

  getgid(2), getpid(2), getuid(2)