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

 
 

 

GETRESUID

Section: Linux Programmer's Manual (2)
Updated: 16 July 1997
Index Return to Main Contents
 

̾Á°

getresuid, getresgid - ¼Â¡¢¼Â¸ú¡¢Êݸ¡¢¥æ¡¼¥¶¡¼ID¤Þ¤¿¤Ï¥°¥ë¡¼¥×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 (¤É¤Á¤é¤â Linux 2.1.44 ¤ÇƳÆþ¤µ¤ì¤¿) ¤Ï¸Æ¤Ó½Ð¤·¤¿¥×¥í¥»¥¹¤Î¼Â(real)¡¢¼Â¸ú(effective)¡¢Êݸ(saved)¥æ¡¼¥¶¡¼ID (¤Þ¤¿¤Ï¥Õ¥ë¡¼¥×ID)¤ò¼èÆÀ¤¹¤ë¡£

 

ÊÖ¤êÃÍ

À®¸ù¤·¤¿¾ì¹ç¤Ï¥¼¥í¤òÊÖ¤¹¡£¥¨¥é¡¼¤Î¾ì¹ç¤Ï -1 ¤òÊÖ¤·¡¢ errno ¤¬Å¬ÀÚ¤ËÀßÄꤵ¤ì¤ë¡£  

¥¨¥é¡¼

EFAULT
»ØÄꤷ¤¿°ú¤­¿ô¤Î¤É¤ì¤«¤¬¡¢¸Æ¤Ó½Ð¤·¤¿¥×¥í¥°¥é¥à¤Î¥¢¥É¥ì¥¹¶õ´Ö¤Î³°¤Î ¥¢¥É¥ì¥¹¤Ç¤¢¤ë¡£
 

½àµò

¤³¤Î¥³¡¼¥ë¤Ï Linux ÆÃÍ­¤Ç¤¢¤ë¡£  

´ØÏ¢¹àÌÜ

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


 

Index

̾Á°
½ñ¼°
ÀâÌÀ
ÊÖ¤êÃÍ
¥¨¥é¡¼
½àµò
´ØÏ¢¹àÌÜ

 
 
 
 
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.