1 .\" Hey Emacs! This file is -*- nroff -*- source.
3 .\" This manpage is Copyright (C) 1992 Drew Eckhardt;
4 .\" 1993 Michael Haardt, Ian Jackson.
6 .\" Permission is granted to make and distribute verbatim copies of this
7 .\" manual provided the copyright notice and this permission notice are
8 .\" preserved on all copies.
10 .\" Permission is granted to copy and distribute modified versions of this
11 .\" manual under the conditions for verbatim copying, provided that the
12 .\" entire resulting derived work is distributed under the terms of a
13 .\" permission notice identical to this one.
15 .\" Since the Linux kernel and libraries are constantly changing, this
16 .\" manual page may be incorrect or out-of-date. The author(s) assume no
17 .\" responsibility for errors or omissions, or for damages resulting from
18 .\" the use of the information contained herein. The author(s) may not
19 .\" have taken the same level of care in the production of this manual,
20 .\" which is licensed free of charge, as they might when working
23 .\" Formatted or processed versions of this manual, if unaccompanied by
24 .\" the source, must acknowledge the copyright and authors of this work.
26 .\" Modified Wed Jul 21 19:42:57 1993, Rik Faith <faith@cs.unc.edu>
27 .\" Modified Sun Jul 21 21:25:26 1996, Andries Brouwer <aeb@cwi.nl>
28 .\" Modified Wed Nov 6 03:46:05 1996 by Eric S. Raymond <esr@thyrsus.com>
30 .\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
31 .\" all rights reserved.
32 .\" Translated Wed Feb 22 20:02:18 JST 1997
33 .\" by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
35 .\"WORD: alarm ¥¢¥é¡¼¥à
36 .\"WORD: signal ¥·¥°¥Ê¥ë
37 .\"WORD: clock ¥¯¥í¥Ã¥¯
38 .\"WORD: process ¥×¥í¥»¥¹
39 .\"WORD: timer ¥¿¥¤¥Þ¡¼
40 .\"WORD: scheduling ¥¹¥±¥¸¥å¡¼¥ê¥ó¥°
42 .TH ALARM 2 2008-06-12 "Linux" "Linux Programmer's Manual"
44 alarm \- ¥·¥°¥Ê¥ëÇÛÁ÷¤Î¤¿¤á¤Î¥¢¥é¡¼¥à¡¦¥¯¥í¥Ã¥¯¤òÀßÄꤹ¤ë
47 .B #include <unistd.h>
49 .BI "unsigned int alarm(unsigned int " seconds );
57 Éøå¤Ë¸Æ¤Ó½Ð¤·¤¿¥×¥í¥»¥¹¤ËÇÛÁ÷¤¹¤ë¤è¤¦¤Ë¼êÇÛ¤¹¤ë¡£
64 º£¤Þ¤Ç¤ËÀßÄꤵ¤ì¤Æ¤¤¤¿
69 ¤Ï°ÊÁ°¤ËͽÄꤵ¤ì¤Æ¤¤¤¿¥¢¥é¡¼¥à¤ÎÇÛÁ÷¤Þ¤Ç¤Î»Ä¤ê»þ´Ö¤òÊÖ¤¹¡£°ÊÁ°¤Ë
70 ¥¢¥é¡¼¥à¤¬Í½Äꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¥¼¥í¤òÊÖ¤¹¡£
72 SVr4, POSIX.1-2001, 4.3BSD.
77 ¤ÏƱ¤¸¥¿¥¤¥Þ¡¼¤ò¶¦Í¤·¤Æ¤¤¤ë; ÊÒÊý¤ò¸Æ¤Ó½Ð¤¹¤³¤È¤Ï¤â¤¦°ìÊý¤Î
83 ¤òÍøÍѤ·¤Æ¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
87 ¤òº®¤¼¤Æ»ÈÍѤ·¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
89 ¥¹¥±¥¸¥å¡¼¥ê¥ó¥°(scheduling)¤ÎÃÙ±ä¤Ë¤è¤ê¡¢¥×¥í¥»¥¹¤Î¼Â¹Ô¤ËÉÔÄêÎ̤Î
90 Ãٱ䤬µ¯¤¤ë²ÄǽÀ¤¬¤¢¤ë¡£