1ptree_unregister_handler(P3IPCILCLPTlRuEgE-)In LibraryptFruenec_tuinornesgister_handler(3PICLTREE)
2
3
4
6 ptree_unregister_handler - unregister the event handler for the event
7
9 cc [flag ...] file ... -lpicltree [library ...]
10 #include <picltree.h>
11
12 void ptree_register_handler(const char *ename,
13 void (*evt_handler)(const char *ename, const void *earg,
14 size_t size, void *cookie), void *cookie);
15
16
18 The ptree_unregister_handler() function unregisters the event handler
19 for the specified event. The argument ename specifies the name of the
20 PICL event for which to unregister the handler. The argument evt_han‐
21 dler specifies the event handler function. The argument cookie is the
22 pointer to the caller-specific data given at the time of registration
23 of the handler.
24
25
26 If the handler being unregistered is currently executing, then this
27 function will block until its completion. Because of this, locks
28 acquired by the handlers should not be held across the call to
29 ptree_unregister_handler() or a deadlock may result.
30
31
32 The ptree_unregister_handler() function must not be invoked from the
33 handler that is being unregistered.
34
36 This function does not return a value.
37
39 See attributes(5) for descriptions of the following attributes:
40
41
42
43
44 ┌─────────────────────────────┬─────────────────────────────┐
45 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
46 ├─────────────────────────────┼─────────────────────────────┤
47 │MT-Level │MT-Safe │
48 └─────────────────────────────┴─────────────────────────────┘
49
51 ptree_register_handler(3PICLTREE), attributes(5)
52
53
54
55SunOS 5.11 1 Aug 2000ptree_unregister_handler(3PICLTREE)