ALARM
Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Å´º¾ó (2)
Updated: 1993³â 7¿ù 21ÀÏ
Index
Return to Main Contents
À̸§
alarm - ½Ã±×³Î Àü´ÞÀ» À§ÇÑ ¾Ë¶÷À» ¼³Á¤ÇÑ´Ù.
»ç¿ë¹ý
#include <unistd.h>
unsigned int alarm(unsigned int seconds);
¼³¸í
alarm˼
secondsÃÊ
ÈÄ¿¡ ÇÁ·Î¼¼½º¿¡ SIGALRM ½Ã±×³ÎÀÌ Àü´ÞµÇµµ·Ï ¼³Á¤ÇÑ´Ù.
¸¸¾à
seconds°¡
0À̸é
alarmÀÌ
¼öÇàµÇÁö ¾Ê´Â´Ù.
¾î¶² °æ¿ì¿¡µµ ÀÌÀü¿¡ ¼³Á¤µÈ
alarm˼
Àº Ãë¼ÒµÈ´Ù.
¹Ýȯ°ª
alarm˼
ÀÌÀü¿¡ ¼³Á¤µÈ ¾Ë¶÷ÀÌ ½Ã±×³ÎÀ» Àü´ÞÇÒ ¶§±îÁö ³²Àº ½Ã°£À» ÃÊ ´ÜÀ§ÀÇ
¼ýÀÚ·Î ¹ÝȯÇϰųª, ÀÌÀü¿¡ ¼³Á¤µÈ ¾Ë¶÷ÀÌ ¾ø´Ù¸é 0À» ¹ÝȯÇÑ´Ù.
ÁÖÀÇ
alarm °ú setitimer´Â
°°Àº ŸÀ̸Ӹ¦ °øÀ¯ÇÑ´Ù; ÇÑ ÂÊÀ» È£ÃâÇÏ¸é ´Ù¸¥ ÂÊÀ» °£¼·ÇÒ °ÍÀÌ´Ù.
½ºÄÉÁÙ¸µ Áö¿¬ÀÌ ÀÓÀÇÀÇ ½Ã°£ µ¿¾È ÇÁ·Î¼¼½ºÀÇ ¼öÇàÀ» Áö¿¬½Ãų ¼öµµ ÀÖ´Ù.
ȣȯ
SVr4, SVID, POSIX, X/OPEN, BSD 4.3
°ü·Ã Ç׸ñ
setitimer(2),
signal(2),
sigaction(2),
gettimeofday(2),
select(2),
pause(2),
sleep(3)
¿ªÀÚ
ÀÓÁ¾±Õ <hermes44@secsm.org>, 2000³â 4¿ù 14ÀÏ
Index
- À̸§
-
- »ç¿ë¹ý
-
- ¼³¸í
-
- ¹Ýȯ°ª
-
- ÁÖÀÇ
-
- ȣȯ
-
- °ü·Ã Ç׸ñ
-
- ¿ªÀÚ
-
This document was created by
man2html,
using the manual pages.
Time: 08:07:01 GMT, March 25, 2004