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
12extern "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
27typedef union sigval {
29 void *sival_ptr;
31
32typedef struct sigevent {
37 #ifdef CONFIG_PTHREAD_IPC
38 pthread_attr_t *sigev_notify_attributes;
39 #endif
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif /* POSIX__SIGNAL_H */
void
Definition: eswifi_shell.c:15
struct sigevent sigevent
union sigval sigval
Definition: signal.h:32
sigval sigev_value
Definition: signal.h:35
int sigev_signo
Definition: signal.h:34
void(* sigev_notify_function)(sigval val)
Definition: signal.h:36
int sigev_notify
Definition: signal.h:33
Definition: signal.h:27
void * sival_ptr
Definition: signal.h:29
int sival_int
Definition: signal.h:28