home *** CD-ROM | disk | FTP | other *** search
-
- GETUID(2) UNIX Programmer's Manual GETUID(2)
-
- NNAAMMEE
- ggeettuuiidd, ggeetteeuuiidd - get user identification
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<uunniissttdd..hh>>
- ##iinncclluuddee <<ssyyss//ttyyppeess..hh>>
-
- _u_i_d___t
- ggeettuuiidd(_v_o_i_d)
-
- _u_i_d___t
- ggeetteeuuiidd(_v_o_i_d)
-
- DDEESSCCRRIIPPTTIIOONN
- The ggeettuuiidd() function returns the real user ID of the calling process.
- The ggeetteeuuiidd() function returns the effective user ID of the calling pro
- cess.
-
- The real user ID is that of the user who has invoked the program. As the
- effective user ID gives the process additional permissions during execu
- tion of ``_s_e_t__u_s_e_r__I_D'' mode processes, ggeettuuiidd() is used to determine the
- realuserid of the calling process.
-
- EERRRROORRSS
- The ggeettuuiidd() and ggeetteeuuiidd() functions are always successful, and no return
- value is reserved to indicate an error.
-
- SSEEEE AALLSSOO
- getgid(2), setreuid(2)
-
- SSTTAANNDDAARRDDSS
- GGeetteeuuiidd() and ggeettuuiidd() conform to IEEE Std 1003.11988 (``POSIX'').
-
- 4th Berkeley Distribution March 10, 1991 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-