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():
18 _POSIX_C_SOURCE >= 199309L
19
21 timer_delete() deletes the timer whose ID is given in timerid. If the
22 timer was armed at the time of this call, it is disarmed before being
23 deleted. The treatment of any pending signal generated by the deleted
24 timer is unspecified.
25
27 On success, timer_delete() returns 0. On failure, -1 is returned, and
28 errno is set to indicate the error.
29
31 EINVAL timerid is not a valid timer ID.
32
34 This system call is available since Linux 2.6.
35
37 POSIX.1-2001, POSIX.1-2008.
38
40 clock_gettime(2), timer_create(2), timer_getoverrun(2), timer_set‐
41 time(2), time(7)
42
44 This page is part of release 5.13 of the Linux man-pages project. A
45 description of the project, information about reporting bugs, and the
46 latest version of this page, can be found at
47 https://www.kernel.org/doc/man-pages/.
48
49
50
51Linux 2021-03-22 TIMER_DELETE(2)