Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
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 */
void
void
Definition:
eswifi_shell.c:15
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 Sun Oct 9 2022 09:21:57 for Zephyr API Documentation by
1.9.4