getuid(2) System Calls Manual getuid(2) NOMBRE getuid, geteuid - devuelve la identidad del usuario BIBLIOTECA Biblioteca Estandar C (libc, -lc) SINOPSIS #include uid_t getuid(void); uid_t geteuid(void); DESCRIPCION getuid() devuelve el identificador de usuario real del proceso invocante. geteuid() devuelve el identificador de usuario efectivo del proceso actual. ERRORES Estas funciones nunca devuelven error ni modifican errno. ESTANDARES POSIX.1-2008. HISTORIAL POSIX.1-2001, 4.3BSD. In UNIX V6 the getuid() call returned (euid << 8) + uid. UNIX V7 introduced separate calls getuid() and geteuid(). The original Linux getuid() and geteuid() system calls supported only 16-bit user IDs. Subsequently, Linux 2.4 added getuid32() and geteuid32(), supporting 32-bit IDs. The glibc getuid() and geteuid() wrapper functions transparently deal with the variations across kernel versions. On Alpha, instead of a pair of getuid() and geteuid() system calls, a single getxuid() system call is provided, which returns a pair of real and effective UIDs. The glibc getuid() and geteuid() wrapper functions transparently deal with this. See syscall(2) for details regarding register mapping. VEASE TAMBIEN getresuid(2), setreuid(2), setuid(2), credentials(7) TRADUCCION La traduccion al espanol de esta pagina del manual fue creada por Juan Piernas y Marcos Fouces Esta traduccion es documentacion libre; lea la GNU General Public License Version 3 o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. Si encuentra algun error en la traduccion de esta pagina del manual, envie un correo electronico a . Paginas de manual de Linux 6.06 31 Octubre 2023 getuid(2)