alarm

ALARM(2)                   Linux Programmer's Manual                  ALARM(2)



åå
       alarm - ã·ã°ãã«ééã®ããã®ã¢ã©ã¼ã ã»ã¯ããã¯ãè¨å®ãã

æ¸å¼
       #include <unistd.h>

       unsigned int alarm(unsigned int seconds);

説æ
       alarm 㯠SIGALRM ã·ã°ãã«ã seconds ç§å¾ã«ããã»ã¹ã«ééããããã«æéããã

       seconds ãã¼ããªãã°ãæ°ã㪠alarm ã¯æéãããªãã

       ä»ã¾ã§ã«è¨å®ããã¦ãã alarm ã¯ä¸æãããã


è¿ãå¤
       alarm ã¯ä»¥åã«äºå®ããã¦ããã¢ã©ã¼ã ã®ééã¾ã§ã®æ®ãæéãè¿ãã以åã«
       ã¢ã©ã¼ã ãäºå®ããã¦ããªããã°ã¼ããè¿ãã

注æ
       alarm 㨠setitimer ã¯åãã¿ã¤ãã¼(timer)ãå±æãã¦ãã;
       çæ¹ãå¼ã³åºããã¨ã¯ããä¸æ¹ã® 使ç¨ã«å½±é¿ãä¸ããã

       ã¹ã±ã¸ã¥ã¼ãªã³ã°(scheduling)ã®é延ã«ãããããã»ã¹ã®å®è¡ã«ä¸å®éã®
       é延ãèµ·ããå¯è½æ§ãããã


æºæ
       SVr4, AT&T, POSIX, X/OPEN, BSD 4.3

é¢é£é ç®
       setitimer(2), signal(2), sigaction(2), gettimeofday(2), select(2),
       pause(2), sleep(3)



Linux                            21 July 1993                         ALARM(2)