Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 
 

GETUID

Section: Manual del Programador de Linux (2)
Updated: 23 julio 1993
Index Return to Main Contents
 

NOMBRE

getuid, geteuid - devuelve la identidad del usuario  

SINOPSIS

#include <unistd.h>
#include <sys/types.h>

uid_t getuid(void);
uid_t geteuid(void);  

DESCRIPCIÓN

getuid devuelve el identificador de usuario real del proceso actual.

geteuid devuelve el identificador de usuario efectivo del proceso actual.

El identificador real corresponde con el del proceso invocador. El efectivo se corresponde con el identificador de usuario ("sticky bit") del fichero que se está ejecutando.  

ERRORES

Estas funciones siempre funcionan.  

CONFORME A

POSIX, BSD 4.3.  

VÉASE TAMBIÉN

setreuid(2), setuid(2)


 

Index

NOMBRE
SINOPSIS
DESCRIPCIÓN
ERRORES
CONFORME A
VÉASE TAMBIÉN

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Linuxinfor Man Pages in HTML Format: man2". See Index Page for more info about Authorship and Copyright.

1999-2008 Linuxinfor.com. No rights reserved.