Xenomai
3.1
signal.h
1
/*
2
* Copyright (C) 2006 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>.
3
*
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2 of the License, or (at your option) any later version.
8
*
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
17
*/
18
#pragma GCC system_header
19
#include_next <signal.h>
20
21
#ifndef _COBALT_SIGNAL_H
22
#define _COBALT_SIGNAL_H
23
24
/* Re-read in case we came from selective __need* block. */
25
#include_next <signal.h>
26
#include <cobalt/wrappers.h>
27
#include <cobalt/uapi/signal.h>
28
29
#ifndef sigev_notify_thread_id
30
#define sigev_notify_thread_id _sigev_un._tid
31
#endif
32
33
#ifdef __cplusplus
34
extern
"C"
{
35
#endif
36
37
int
cobalt_sigshadow_handler(
int
sig, siginfo_t *si,
38
void
*ctxt);
39
40
void
cobalt_sigdebug_handler(
int
sig, siginfo_t *si,
41
void
*context);
42
43
COBALT_DECL(
int
, sigpending(sigset_t *
set
));
44
45
COBALT_DECL(
int
, sigwait(
const
sigset_t *
set
,
int
*sig));
46
47
COBALT_DECL(
int
, sigwaitinfo(
const
sigset_t *
set
, siginfo_t *si));
48
49
COBALT_DECL(
int
, sigtimedwait(
const
sigset_t *
set
, siginfo_t *si,
50
const
struct
timespec *timeout));
51
52
COBALT_DECL(
int
, kill(pid_t pid,
int
sig));
53
54
COBALT_DECL(
int
, sigqueue(pid_t pid,
int
sig,
55
const
union
sigval value));
56
57
#ifdef __cplusplus
58
}
59
#endif
60
61
#endif
/* !_COBALT_SIGNAL_H */
include
cobalt
signal.h
Generated by
1.8.14