GETUID.2
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:

OS Develop

Development Platform:

WINDOWS

  1. GETUID(2)                 Minix Programmer's Manual                  GETUID(2)
  2. NAME
  3.      getuid, geteuid - get user identity
  4. SYNOPSIS
  5.      #include <sys/types.h>
  6.      #include <unistd.h>
  7.      uid_t getuid(void)
  8.      uid_t geteuid(void)
  9. DESCRIPTION
  10.      Getuid returns the real user ID  of  the  current  process,  geteuid  the
  11.      effective user ID.
  12.      The real user ID identifies the person who is logged in.   The  effective
  13.      user  ID  gives  the  process  additional permissions during execution of
  14.      "set-user-ID" mode processes, which use getuid  to  determine  the  real-
  15.      user-id of the process that invoked them.
  16. SEE ALSO
  17.      getgid(2), setuid(2).
  18. 4BSD                             January 7, 1986                             1