build-many-glibcs.py: Add openrisc hard float glibc variant
[glibc.git] / sysdeps / generic / internal-signals.h
blob3db100be104b47bd97bb73cecb86b58ba59882ce
1 /* Special use of signals internally. Stub version.
2 Copyright (C) 2014-2024 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <https://www.gnu.org/licenses/>. */
19 #ifndef __INTERNAL_SIGNALS_H
20 # define __INTERNAL_SIGNALS_H
22 #include <signal.h>
23 #include <sigsetops.h>
24 #include <stdbool.h>
25 #include <stddef.h>
27 /* How many signal numbers need to be reserved for libpthread's private uses
28 (SIGCANCEL and SIGSETXID). */
29 #define RESERVED_SIGRT 0
31 static inline bool
32 is_internal_signal (int sig)
34 return false;
37 static inline void
38 clear_internal_signals (sigset_t *set)
42 typedef sigset_t internal_sigset_t;
44 #define internal_sigemptyset(__s) __sigemptyset (__s)
45 #define internal_sigaddset(__s, __i) __sigaddset (__s, __i)
46 #define internal_sigprocmask(__h, __s, __o) __sigprocmask (__h, __s, __o)
48 #endif /* __INTERNAL_SIGNALS_H */