1TIMER_DELETE(2) Linux Programmer's Manual TIMER_DELETE(2)
2
3
4
6 timer_delete - delete a POSIX per-process timer
7
9 #include <time.h>
10
11 int timer_delete(timer_t timerid);
12
13 Link with -lrt.
14
15 Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
16
17 timer_delete(): _POSIX_C_SOURCE >= 199309
18
20 timer_delete() deletes the timer whose ID is given in timerid. If the
21 timer was armed at the time of this call, it is disarmed before being
22 deleted. The treatment of any pending signal generated by the deleted
23 timer is unspecified.
24
26 On success, timer_delete() returns 0. On failure, -1 is returned, and
27 errno is set to indicate the error.
28
30 EINVAL timerid is not a valid timer ID.
31
33 This system call is available since Linux 2.6.
34
36 POSIX.1-2001
37
39 clock_gettime(2), timer_create(2), timer_settime(2), timer_getoverā
40 run(2), time(7)
41
43 This page is part of release 3.22 of the Linux man-pages project. A
44 description of the project, and information about reporting bugs, can
45 be found at http://www.kernel.org/doc/man-pages/.
46
47
48
49Linux 2009-02-20 TIMER_DELETE(2)