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 >= 199309L
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, POSIX.1-2008.
37
39 clock_gettime(2), timer_create(2), timer_getoverrun(2), timer_set‐
40 time(2), time(7)
41
43 This page is part of release 5.02 of the Linux man-pages project. A
44 description of the project, information about reporting bugs, and the
45 latest version of this page, can be found at
46 https://www.kernel.org/doc/man-pages/.
47
48
49
50Linux 2015-08-08 TIMER_DELETE(2)