Rechercher une page de manuel
epoll_create
Langue: ja
Version: 2004-06-17 (openSuse - 09/10/07)
Section: 2 (Appels système)
̾Á°
epoll_create - epoll ¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤ò¥ª¡¼¥×¥ó¤¹¤ë½ñ¼°
#include <sys/epoll.h>int epoll_create(int size)
ÀâÌÀ
size ¥Ç¥£¥¹¥¯¥ê¥×¥¿¤ÎÂ礤µ (dimension) ¤Î ¥¤¥Ù¥ó¥È¥Ð¥Ã¥¥ó¥°¥¹¥È¥¢¤Î³ä¤êÅö¤Æ¤ò ¥«¡¼¥Í¥ë¤ËÍ׵᤹¤ë¤³¤È¤Ë¤è¤ê¡¢ epoll ¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤ò¥ª¡¼¥×¥ó¤¹¤ë¡£ size ¤Ï¥Ð¥Ã¥¥ó¥°¥¹¥È¥¢¤ÎºÇÂ祵¥¤¥º¤Ç¤Ï¤Ê¤¯¡¢ ÆâÉô¹½Â¤¤ÎÂ礤µ¤ò¤É¤Î°Ì¤Ë¤¹¤ë¤«¤ò¥«¡¼¥Í¥ë¤ËÃΤ餻¤ë¥Ò¥ó¥È¤Ç¤·¤«¤Ê¤¤¡£ ÊÖ¤µ¤ì¤ë¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Ï¡¢¤½¤Î¸å¤Î epoll ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î¸Æ¤Ó½Ð¤·¤Ë»È¤ï¤ì¤ë¡£ epoll_create(2) ¤ÇÊÖ¤µ¤ì¤ë¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Ï¡¢ close(2) ¤ò»È¤Ã¤Æ¥¯¥í¡¼¥º¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£ÊÖ¤êÃÍ
À®¸ù¤·¤¿¾ì¹ç¡¢ epoll_create(2) ¤Ï¥Ç¥£¥¹¥¯¥ê¥×¥¿¤ò¼±Ê̤¹¤ëÈóÉé¤ÎÀ°¿ô¤òÊÖ¤¹¡£ ¥¨¥é¡¼¤¬µ¯¤³¤Ã¤¿¾ì¹ç¡¢ epoll_create(2) ¤Ï -1 ¤òÊÖ¤·¡¢ errno ¤¬Å¬ÀÚ¤ËÀßÄꤵ¤ì¤ë¡£¥¨¥é¡¼
- EINVAL
- size ¤¬Àµ¤Ç¤Ê¤¤¡£
- ENFILE
- ¥ª¡¼¥×¥ó¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤ÎÁí¿ô¤¬¥·¥¹¥Æ¥àÀ©¸Â¤Ë㤷¤¿¡£
- ENOMEM
- ¥«¡¼¥Í¥ë¥ª¥Ö¥¸¥§¥¯¥È¤òºîÀ®¤¹¤ë¤Î¤Ë½½Ê¬¤Ê¥á¥â¥ê¤¬¤Ê¤«¤Ã¤¿¡£
½àµò
epoll_create(2) ¤Ï Linux Æȼ«¤Ç¤¢¤ê¡¢¥«¡¼¥Í¥ë 2.5.44 ¤ÇƳÆþ¤µ¤ì¤¿¡£´ØÏ¢¹àÌÜ
close(2), epoll_ctl(2), epoll_wait(2), epoll(7)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre