distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
signal.h
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_SYS_SIGNAL_H_
13 #define INCLUDE_SYS_SIGNAL_H_
14 
15 #ifdef __cplusplus
16 extern "C"
17 {
18 #endif /* def __cplusplus */
19 
20 /*---------------------------------------------------------------------------------------------------------------------+
21 | global types
22 +---------------------------------------------------------------------------------------------------------------------*/
23 
25 typedef void (* _sig_func_ptr)(int);
26 
28 union sigval
29 {
31  int sival_int;
32 
34  void* sival_ptr;
35 };
36 
37 #ifdef __cplusplus
38 } /* extern "C" */
39 #endif /* def __cplusplus */
40 
41 #endif /* INCLUDE_SYS_SIGNAL_H_ */
Definition: signal.h:28
int sival_int
Definition: signal.h:31
void * sival_ptr
Definition: signal.h:34
void(* _sig_func_ptr)(int)
Definition: signal.h:25