OSDN Git Service

(split) LDP: Release pages for LDP v3.39.
[linuxjm/LDP_man-pages.git] / release / man2 / timer_delete.2
1 .\" Copyright (c) 2009 Linux Foundation, written by Michael Kerrisk
2 .\"     <mtk.manpages@gmail.com>
3 .\"
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
7 .\"
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
12 .\"
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein.  The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
19 .\" professionally.
20 .\"
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
23 .\"*******************************************************************
24 .\"
25 .\" This file was generated with po4a. Translate the source file.
26 .\"
27 .\"*******************************************************************
28 .TH TIMER_DELETE 2 2009\-02\-20 Linux "Linux Programmer's Manual"
29 .SH 名前
30 timer_delete \- delete a POSIX per\-process timer
31 .SH 書式
32 .nf
33 \fB#include <time.h>\fP
34
35 \fBint timer_delete(timer_t \fP\fItimerid\fP\fB);\fP
36 .fi
37
38 Link with \fI\-lrt\fP.
39 .sp
40 .in -4n
41 glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
42 .in
43 .sp
44 \fBtimer_delete\fP(): _POSIX_C_SOURCE\ >=\ 199309L
45 .SH 説明
46 \fBtimer_delete\fP()  deletes the timer whose ID is given in \fItimerid\fP.  If
47 the timer was armed at the time of this call, it is disarmed before being
48 deleted.  The treatment of any pending signal generated by the deleted timer
49 is unspecified.
50 .SH 返り値
51 On success, \fBtimer_delete\fP()  returns 0.  On failure, \-1 is returned, and
52 \fIerrno\fP is set to indicate the error.
53 .SH エラー
54 .TP 
55 \fBEINVAL\fP
56 \fItimerid\fP is not a valid timer ID.
57 .SH バージョン
58 This system call is available since Linux 2.6.
59 .SH 準拠
60 POSIX.1\-2001.
61 .SH 関連項目
62 \fBclock_gettime\fP(2), \fBtimer_create\fP(2), \fBtimer_getoverrun\fP(2),
63 \fBtimer_settime\fP(2), \fBtime\fP(7)