OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / release / man2 / idle.2
1 .\" Hey Emacs! This file is -*- nroff -*- source.
2 .\"
3 .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
4 .\" Portions extracted from linux/mm/swap.c:
5 .\"                Copyright (C) 1991, 1992  Linus Torvalds
6 .\"
7 .\" Permission is granted to make and distribute verbatim copies of this
8 .\" manual provided the copyright notice and this permission notice are
9 .\" preserved on all copies.
10 .\"
11 .\" Permission is granted to copy and distribute modified versions of this
12 .\" manual under the conditions for verbatim copying, provided that the
13 .\" entire resulting derived work is distributed under the terms of a
14 .\" permission notice identical to this one.
15 .\"
16 .\" Since the Linux kernel and libraries are constantly changing, this
17 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
18 .\" responsibility for errors or omissions, or for damages resulting from
19 .\" the use of the information contained herein.  The author(s) may not
20 .\" have taken the same level of care in the production of this manual,
21 .\" which is licensed free of charge, as they might when working
22 .\" professionally.
23 .\"
24 .\" Formatted or processed versions of this manual, if unaccompanied by
25 .\" the source, must acknowledge the copyright and authors of this work.
26 .\"
27 .\" Modified 21 Aug 1994 by Michael Chastain <mec@shell.portal.com>:
28 .\"   Added text about calling restriction (new in kernel 1.1.20 I believe).
29 .\"   N.B. calling "idle" from user process used to hang process!
30 .\" Modified Thu Oct 31 14:41:15 1996 by Eric S. Raymond <esr@thyrsus.com>
31 .\" "
32 .\"
33 .\" Japanese Version Copyright (c) 1997 SUTO, Mitsuaki
34 .\"         all rights reserved.
35 .\" Translated Thu Jun 26 20:42:09 JST 1997
36 .\"         by SUTO, Mitsuaki <suto@av.crl.sony.co.jp>
37 .\" Updated Mon Jan  3 18:16:36 JST 2000
38 .\"         by Kentaro Shirakata <argrath@yo.rim.or.jp>
39 .\"
40 .\"WORD:        Linux-specific          Linux ÆÃÍ­
41 .\"WORK:        portable                °Ü¿¢
42 .\"
43 .TH IDLE 2 1994-08-21 "Linux" "Linux Programmer's Manual"
44 .SH Ì¾Á°
45 idle \- ID 0 ¤Î¥×¥í¥»¥¹¤ò¥¢¥¤¥É¥ë¾õÂ֤ˤ¹¤ë
46 .SH ½ñ¼°
47 .B #include <unistd.h>
48 .sp
49 .B int idle(void);
50 .SH ÀâÌÀ
51 .BR idle ()
52 ¤Ï¥Ö¡¼¥È¥¹¥È¥é¥Ã¥×»þ¤Ë»ÈÍѤµ¤ì¤ë¡¢ÆâÉô¥·¥¹¥Æ¥à¥³¡¼¥ë¤Ç¤¢¤ë¡£
53 ¥×¥í¥»¥¹¤Î¥Ú¡¼¥¸¤ò¥¹¥ï¥Ã¥×²Äǽ¤ËÀßÄꤷ¡¢Í¥ÀèÅÙ¤ò²¼¤²¡¢¥á¥¤¥ó¤Î¥¹¥±¥¸¥å¡¼
54 ¥ë½èÍý¤Î¤¿¤á¤Î¥ë¡¼¥×¤Ø°Ü¹Ô¤¹¤ë¡£
55 ½¾¤Ã¤Æ
56 .BR idle ()
57 ¤Ï return ¤¹¤ë¤³¤È¤Ï¤Ê¤¤¡£
58 .PP
59 ID 0 ¤Î¥×¥í¥»¥¹¤Î¤ß¤¬
60 .BR idle ()
61 ¤ò»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
62 ¾¤Î¥æ¡¼¥¶¡¼¥×¥í¥»¥¹¤Ï¤¿¤È¤¨¤½¤ì¤¬¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼¸¢¸Â¤ò»ý¤Ã¤Æ¤¤¤¿¤È¤·¤Æ
63 ¤â
64 .B EPERM
65 ¤ò¼õ¤±¼è¤ë¡£
66 .SH ÊÖ¤êÃÍ
67 .BR idle ()
68 ID 0 ¤Î¥×¥í¥»¥¹¤ËÂФ·¤Æ¤Ï return ¤·¤Ê¤¤¡£¤½¤ì°Ê³°¤Î¥æ¡¼¥¶¡¼¥×¥í¥»¥¹¤Ë¤Ï
69 ¾ï¤Ë \-1 ¤òÊÖ¤¹¡£
70 .SH ¥¨¥é¡¼
71 .TP
72 .B EPERM
73 ¥æ¡¼¥¶¡¼¥×¥í¥»¥¹¤Ë¤Ï¾ï¤Ë¤³¤ÎÃͤò¥»¥Ã¥È¤¹¤ë¡£
74 .SH ¥Ð¡¼¥¸¥ç¥ó
75 2.3.13 °Ê¹ß¡¢¤â¤Ï¤ä¤³¤Î¥·¥¹¥Æ¥à¥³¡¼¥ë¤Ï¸ºß¤·¤Ê¤¤¡£
76 .SH ½àµò
77 ¤³¤Î´Ø¿ô¤Ï Linux ÆÃÍ­¤Î´Ø¿ô¤Ç¤¢¤ê¡¢°Ü¿¢À­¤ò»ý¤¿¤»¤¿¤¤¥×¥í¥°¥é¥à¤Ë¤Ï»È
78 ÍѤ¹¤Ù¤­¤Ç¤Ê¤¤¡£