|
|||||||
|
|
GETSIDSection: Linux Programmer's Manual (2)Updated: 11 April 1996 Index Return to Main Contents ̾Á°getsid - ¥»¥Ã¥·¥ç¥ó ID ¤ò¼èÆÀ¤¹¤ë¡£½ñ¼°#include <unistd.h>ÀâÌÀgetsid(0) ¤Ï¸Æ¤Ó½Ð¤·¤¿¥×¥í¥»¥¹(process)¤Î¥»¥Ã¥·¥ç¥ó(session) ID ¤òÊÖ¤¹¡£ getsid(p) ¤Ï¥×¥í¥»¥¹ ID p ¤ò»ý¤Ä¥×¥í¥»¥¹¤Î¥»¥Ã¥·¥ç¥ó ID ¤òÊÖ¤¹¡£¥¨¥é¡¼¥¨¥é¡¼¤Î¾ì¹ç¤Ï -1 ¤òÊÖ¤¹¡£µ¯¤³¤ê¤¨¤ëÍ£°ì¤Î¥¨¥é¡¼¤Ï ESRCH ¤Î¤ß¤Ç¡¢¥×¥í¥»¥¹ ID ¤¬ p ¤Î¥×¥í¥»¥¹¤¬¸«¤Ä¤±¤é¤ì¤Ê¤«¤Ã¤¿»þ¤Ëµ¯¤³¤ë¡£½àµòSVr4, ¤½¤ì¤Ë¤Ï¾¤Ë EPERM ¥¨¥é¡¼¾õÂ֤ˤĤ¤¤Æ¤âµ½Ò¤·¤Æ¤¢¤ë¡£´ØÏ¢¹àÌÜsetsid(2)
Index | ||||||
|
|
|
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. |