OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / draft / man2 / pause.2
1 .\" Hey Emacs! This file is -*- nroff -*- source.
2 .\"
3 .\" Copyright (c) 1992 Drew Eckhardt (drew@cs.colorado.edu), March 28, 1992
4 .\"
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
8 .\"
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
13 .\"
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein.  The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
20 .\" professionally.
21 .\"
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
24 .\"
25 .\" Modified by Michael Haardt (michael@moria.de)
26 .\" Modified Sat Jul 24 14:48:00 1993 by Rik Faith (faith@cs.unc.edu)
27 .\" Modified 1995 by Mike Battersby (mib@deakin.edu.au)
28 .\" Modified 2000 by aeb, following Michael Kerrisk
29 .\"
30 .\" Japanese Version Copyright (c) 1997 SUTO, Mitsuaki
31 .\"         all rights reserved.
32 .\" Translated Thu Jun 26 21:08:30 JST 1997
33 .\"         by SUTO, Mitsuaki <suto@av.crl.sony.co.jp>
34 .\"
35 .TH PAUSE 2 2008-10-06 "Linux" "Linux Programmer's Manual"
36 .\"O .SH NAME
37 .SH Ì¾Á°
38 .\"O pause \- wait for signal
39 pause \- ¥·¥°¥Ê¥ë¤òÂÔ¤Ä
40 .\"O .SH SYNOPSIS
41 .SH µ­½Ò
42 .B #include <unistd.h>
43 .sp
44 .B int pause(void);
45 .\"O .SH DESCRIPTION
46 .SH ÀâÌÀ
47 .\"O .BR pause ()
48 .\"O causes the calling process (or thread) to sleep
49 .\"O until a signal is delivered that either terminates the process or causes
50 .\"O the invocation of a signal-catching function.
51 .BR pause ()
52 ¤Ï¡¢¸Æ¤Ó½Ð¤·¤¿¥×¥í¥»¥¹ (¤Þ¤¿¤Ï¥¹¥ì¥Ã¥É) ¤ò¡¢
53 ¤½¤Î¥×¥í¥»¥¹¤ò½ªÎ»¤µ¤»¤¿¤ê¡¢¥·¥°¥Ê¥ëÊ᪴ؿô¤¬µ¯Æ°¤µ¤ì¤ë¤è¤¦¤Ê
54 ¥·¥°¥Ê¥ë¤¬ÇÛÁ÷¤µ¤ì¤ë¤Þ¤Ç¡¢¥¹¥ê¡¼¥×¤µ¤»¤ë¡£
55 .\"O .SH "RETURN VALUE"
56 .SH ÊÖ¤êÃÍ
57 .\"O .BR pause ()
58 .\"O only returns when a signal was caught and the
59 .\"O signal-catching function returned.
60 .\"O In this case
61 .\"O .BR pause ()
62 .\"O returns \-1, and
63 .\"O .I errno
64 .\"O is set to
65 .\"O .\" .BR ERESTARTNOHAND .
66 .\"O .BR EINTR .
67 .BR pause ()
68 ¤¬ÊÖ¤ë¤Î¤Ï¡¢¥·¥°¥Ê¥ë¤ò¼õ¤±¼è¤ê¥·¥°¥Ê¥ëÊá³Í´Ø¿ô¤«¤éÊ֤俾ì¹ç¤À¤±¤Ç¤¢¤ë¡£
69 ¤³¤Î¾ì¹ç¤Ï
70 .BR pause ()
71 ¤Ï \-1 ¤òÊÖ¤·¡¢
72 .I errno
73 ¤Ë
74 .\" .B ERESTARTNOHAND
75 .B EINTR
76 ¤¬ÀßÄꤵ¤ì¤ë¡£
77 .\"O .SH ERRORS
78 .SH ¥¨¥é¡¼
79 .TP
80 .B EINTR
81 .\"O a signal was caught and the signal-catching function returned.
82 ¥·¥°¥Ê¥ë¤ò¼õ¤±¼è¤ê¡¢¥·¥°¥Ê¥ëÊá³Í´Ø¿ô¤«¤éµ¢¤Ã¤Æ¤­¤¿¡£
83 .\"O .SH "CONFORMING TO"
84 .SH ½àµò
85 SVr4, 4.3BSD, POSIX.1-2001.
86 .\"O .SH "SEE ALSO"
87 .SH ´ØÏ¢¹àÌÜ
88 .BR kill (2),
89 .BR select (2),
90 .BR signal (2),
91 .BR sigsuspend (2)