1timer_delete(3C)         Standard C Library Functions         timer_delete(3C)
2
3
4

NAME

6       timer_delete - delete a timer
7

SYNOPSIS

9       #include <time.h>
10
11       int timer_delete(timer_t timerid);
12
13

DESCRIPTION

15       The  timer_delete() function deletes the specified timer, timerid, pre‐
16       viously created by the timer_create(3C) function. If the timer is armed
17       when  timer_delete() is called, the behavior will be as if the timer is
18       automatically disarmed before removal. The disposition of pending  sig‐
19       nals for the deleted timer is unspecified.
20

RETURN VALUES

22       If  successful, the function returns 0. Otherwise, the function returns
23       −1 and sets errno to indicate the error.
24

ERRORS

26       The  timer_delete() function will fail if:
27
28       EINVAL    The timer ID specified by timerid is not a valid timer ID.
29
30
31       ENOSYS    The timer_delete() function is not supported by the system.
32
33

ATTRIBUTES

35       See attributes(5) for descriptions of the following attributes:
36
37
38
39
40       ┌─────────────────────────────┬─────────────────────────────┐
41ATTRIBUTE TYPE               ATTRIBUTE VALUE              
42       ├─────────────────────────────┼─────────────────────────────┤
43       │Interface Stability          │Committed                    │
44       ├─────────────────────────────┼─────────────────────────────┤
45       │MT-Level                     │MT-Safe with exceptions      │
46       ├─────────────────────────────┼─────────────────────────────┤
47       │Standard                     │See standards(5).            │
48       └─────────────────────────────┴─────────────────────────────┘
49

SEE ALSO

51       timer_create(3C), attributes(5), standards(5)
52
53
54
55SunOS 5.11                        5 Feb 2008                  timer_delete(3C)
Impressum