1 .\" Copyright (c) 2009 Linux Foundation, written by Michael Kerrisk
2 .\" <mtk.manpages@gmail.com>
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
6 .TH TIMER_DELETE 2 2021-03-22 "Linux man-pages (unreleased)" "Linux Programmer's Manual"
8 timer_delete \- delete a POSIX per-process timer
11 .RI ( librt ", " \-lrt )
16 .BI "int timer_delete(timer_t " timerid );
20 Feature Test Macro Requirements for glibc (see
21 .BR feature_test_macros (7)):
26 _POSIX_C_SOURCE >= 199309L
30 deletes the timer whose ID is given in
32 If the timer was armed at the time of this call,
33 it is disarmed before being deleted.
34 The treatment of any pending signal generated by the deleted timer
40 On failure, \-1 is returned, and
42 is set to indicate the error.
47 is not a valid timer ID.
49 This system call is available since Linux 2.6.
51 POSIX.1-2001, POSIX.1-2008.
53 .BR clock_gettime (2),
55 .BR timer_getoverrun (2),
56 .BR timer_settime (2),