GETRESUID

Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Þ´º¾ó (2)
Updated: 1997³â 7¿ù 16ÀÏ
Index
Return to Main Contents
 

À̸§

getresuid, getresgid - get ½ÇÁ¦(real), À¯È¿(effective), º¹±¸(saved) À¯Àú³ª
                        ±×·ìÀÇ ID¸¦ ¾Ë ¼öÀÖ´Ù.  

»ç¿ë¹ý

#include <unistd.h>

int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid);
int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);  

¼³¸í

getresuid ¿Í getresgid (µÑ´Ù ¸®´ª½º 2.1.44¿¡¼­ óÀ½ ¼Ò°³µÇ¾ú´Ù.) ´Â Çö ÇÁ·Î¼¼½ºÀÇ ½ÇÁ¦, À¯È¿, º¹±¸ À¯Àú ID¸¦ ¾Ë¼ö ÀÖ´Ù.  

¹Ýȯ°ª

¼º°ø½Ã, 0À» ¹ÝȯÇÑ´Ù. ½ÇÆнÃ, -1À» ¹ÝȯÇÏ°í, errno´Â ÀûÀýÇÏ°Ô ¼³Á¤µÈ´Ù.  

¿¡·¯

EFAULT
ÀμöÁß Çϳª´Â È£ÃâµÈ ÇÁ·Î±×·¥ÀÇ ÁÖ¼Ò°ø°£ ¹Û¿¡ ÁöÁ¤ÇÑ´Ù.
 

ȣȯ

ÀÌ È£ÃâÀº ¸®´ª½º¿¡¼­¸¸ ¾²ÀδÙ.  

°ü·Ã Ç׸ñ

getuid(2), setuid(2), getreuid(2), setreuid(2), setresuid(2)  

¿ªÀÚ

ASPLINUX<man@asp-linux.co.kr>, 2000³â 7¿ù 29ÀÏ


 

Index

À̸§
»ç¿ë¹ý
¼³¸í
¹Ýȯ°ª
¿¡·¯
ȣȯ
°ü·Ã Ç׸ñ
¿ªÀÚ

This document was created by man2html, using the manual pages.
Time: 08:07:00 GMT, March 25, 2004