Query: getuid
OS: v7
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GETUID(2) System Calls Manual GETUID(2)NAMEgetuid, getgid, geteuid, getegid - get user and group identitySYNOPSISgetuid( ) geteuid( ) getgid( ) getegid( )DESCRIPTIONGetuid 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 determines 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 ALSOsetuid(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)
Related Man Pages |
---|
getgid(2) - freebsd |
getgid(2) - netbsd |
getegid(2) - netbsd |
getgid(2) - sunos |
getuid(2) - sunos |
Similar Topics in the Unix Linux Community |
---|
how to write a wrapper c code to return uid using getuid() function |
Help with getuid |