Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
3.0.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
signal.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018 Intel Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
#ifndef ZEPHYR_INCLUDE_POSIX_SIGNAL_H_
7
#define ZEPHYR_INCLUDE_POSIX_SIGNAL_H_
8
9
#include "
posix_types.h
"
10
11
#ifdef __cplusplus
12
extern
"C"
{
13
#endif
14
15
#ifndef SIGEV_NONE
16
#define SIGEV_NONE 1
17
#endif
18
19
#ifndef SIGEV_SIGNAL
20
#define SIGEV_SIGNAL 2
21
#endif
22
23
#ifndef SIGEV_THREAD
24
#define SIGEV_THREAD 3
25
#endif
26
27
typedef
union
sigval
{
28
int
sival_int
;
29
void
*
sival_ptr
;
30
}
sigval
;
31
32
typedef
struct
sigevent
{
33
int
sigev_notify
;
34
int
sigev_signo
;
35
sigval
sigev_value
;
36
void (*
sigev_notify_function
)(
sigval
val);
37
#ifdef CONFIG_PTHREAD_IPC
38
pthread_attr_t *sigev_notify_attributes;
39
#endif
40
}
sigevent
;
41
42
#ifdef __cplusplus
43
}
44
#endif
45
46
#endif
/* POSIX__SIGNAL_H */
posix_types.h
sigevent
struct sigevent sigevent
sigval
union sigval sigval
sigevent
Definition:
signal.h:32
sigevent::sigev_value
sigval sigev_value
Definition:
signal.h:35
sigevent::sigev_signo
int sigev_signo
Definition:
signal.h:34
sigevent::sigev_notify_function
void(* sigev_notify_function)(sigval val)
Definition:
signal.h:36
sigevent::sigev_notify
int sigev_notify
Definition:
signal.h:33
sigval
Definition:
signal.h:27
sigval::sival_ptr
void * sival_ptr
Definition:
signal.h:29
sigval::sival_int
int sival_int
Definition:
signal.h:28
include
posix
signal.h
Generated on Mon Feb 21 2022 22:43:02 for Zephyr API Documentation by
1.9.2