getuid man page on UNIXv7

Man page or keyword search:  
man Server   300 pages
apropos Keyword Search (all sections)
Output format
UNIXv7 logo
[printable version]

GETUID(2)							     GETUID(2)

NAME
       getuid, getgid, geteuid, getegid - get user and group identity

SYNOPSIS
       getuid( )

       geteuid( )

       getgid( )

       getegid( )

DESCRIPTION
       Getuid  returns	the  real  user ID of the current process, geteuid the
       effective user ID.  The real user  ID  identifies  the  person  who  is
       logged  in, in contradistinction to the effective user ID, which deter‐
       mines his access permission at the moment.  It is thus useful  to  pro‐
       grams  which  operate  using  the  `set	user ID' mode, to find out who
       invoked them.

       Getgid returns the real group ID, getegid the effective group ID.

SEE ALSO
       setuid(2)

ASSEMBLER
       (getuid = 24.)
       sys getuid
       (real user ID in r0, effective user ID in r1)

       (getgid = 47.)
       sys getgid
       (real group ID in r0, effective group ID in r1)

								     GETUID(2)
[top]

List of man pages available for UNIXv7

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net