xref: /aosp_15_r20/external/ltp/include/lapi/signal.h (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker // SPDX-License-Identifier: GPL-2.0-or-later
2*49cdfc7eSAndroid Build Coastguard Worker /*
3*49cdfc7eSAndroid Build Coastguard Worker  * Copyright (c) 2019 Linaro Limited. All rights reserved.
4*49cdfc7eSAndroid Build Coastguard Worker  * Author: Daniel Díaz <[email protected]>
5*49cdfc7eSAndroid Build Coastguard Worker  */
6*49cdfc7eSAndroid Build Coastguard Worker 
7*49cdfc7eSAndroid Build Coastguard Worker #ifndef LAPI_SIGNAL_H__
8*49cdfc7eSAndroid Build Coastguard Worker #define LAPI_SIGNAL_H__
9*49cdfc7eSAndroid Build Coastguard Worker 
10*49cdfc7eSAndroid Build Coastguard Worker #include <signal.h>
11*49cdfc7eSAndroid Build Coastguard Worker 
12*49cdfc7eSAndroid Build Coastguard Worker /*
13*49cdfc7eSAndroid Build Coastguard Worker  * Some libc implementations might differ in the definitions they include. This
14*49cdfc7eSAndroid Build Coastguard Worker  * covers those differences for all tests to successfully build.
15*49cdfc7eSAndroid Build Coastguard Worker  */
16*49cdfc7eSAndroid Build Coastguard Worker 
17*49cdfc7eSAndroid Build Coastguard Worker #ifndef __SIGRTMIN
18*49cdfc7eSAndroid Build Coastguard Worker # define __SIGRTMIN 32
19*49cdfc7eSAndroid Build Coastguard Worker #endif
20*49cdfc7eSAndroid Build Coastguard Worker #ifndef __SIGRTMAX
21*49cdfc7eSAndroid Build Coastguard Worker # define __SIGRTMAX (_NSIG - 1)
22*49cdfc7eSAndroid Build Coastguard Worker #endif
23*49cdfc7eSAndroid Build Coastguard Worker 
24*49cdfc7eSAndroid Build Coastguard Worker #endif /* LAPI_SIGNAL_H__ */
25