signal: add macro NSIG

This commit is contained in:
Tiago Medicci Serrano 2023-02-24 11:17:47 -03:00 committed by Xiang Xiao
parent 0356d1403d
commit a49a367226

View file

@ -51,6 +51,7 @@
#define SIGRTMIN (SIGSTDMAX + 1) /* First real time signal */ #define SIGRTMIN (SIGSTDMAX + 1) /* First real time signal */
#define SIGRTMAX MAX_SIGNO /* Last real time signal */ #define SIGRTMAX MAX_SIGNO /* Last real time signal */
#define _NSIG (MAX_SIGNO + 1) /* Biggest signal number + 1 */ #define _NSIG (MAX_SIGNO + 1) /* Biggest signal number + 1 */
#define NSIG _NSIG /* _NSIG variant commonly used */
/* sigset_t is represented as an array of 32-b unsigned integers. /* sigset_t is represented as an array of 32-b unsigned integers.
* _SIGSET_NELEM is the allocated isze of the array * _SIGSET_NELEM is the allocated isze of the array