getresuid(2) System Calls Manual getresuid(2) NOMBRE getresuid, getresgid - devuelve el ID real, efectivo o guardado del usuario o grupo BIBLIOTECA Biblioteca Estandar C (libc, -lc) SINOPSIS #define _GNU_SOURCE /* Vea feature_test_macros(7) */ #include int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); DESCRIPCION getresuid() returns the real UID, the effective UID, and the saved set-user-ID of the calling process, in the arguments ruid, euid, and suid, respectively. getresgid() performs the analogous task for the process's group IDs. VALOR DEVUELTO En caso de exito se devuelve cero. En caso de error se devuelve -1, y errno se configura para indicar el error. ERRORES EFAULT Uno de los argumentos especifico una direccion fuera del rango del espacio de direcciones del programa. ESTANDARES None. These calls also appear on HP-UX and some of the BSDs. HISTORIAL Linux 2.1.44, glibc 2.3.2. The original Linux getresuid() and getresgid() system calls supported only 16-bit user and group IDs. Subsequently, Linux 2.4 added getresuid32() and getresgid32(), supporting 32-bit IDs. The glibc getresuid() and getresgid() wrapper functions transparently deal with the variations across kernel versions. VEASE TAMBIEN getuid(2), setresuid(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.9.1 2 Mayo 2024 getresuid(2)