Signals

I see that _SIGMAX is 32, and _SIGMIN is 1, but the defined values for
signals run from 1 to 28. Is it permissible to define other signals for
29, 30, and 31 (assuming that the range runs from 0 to 31) as in #define
SIGUSR3 29? If not, what are those other values used for? Thanks in
advance.

Douglas Reed

IMHO, you should document the unused values in the signals.h file as “Reserved
for future use” if in fact that is the case. It would have spared you this
question.

Douglas Reed

Operating System Tech Support wrote:

“Douglas Reed” <> dreed@guise.com> > wrote in message
news:> 3BF08462.81DD1DD@guise.com> …
I see that _SIGMAX is 32, and _SIGMIN is 1, but the defined values for
signals run from 1 to 28. Is it permissible to define other signals for
29, 30, and 31 (assuming that the range runs from 0 to 31) as in #define
SIGUSR3 29? If not, what are those other values used for? Thanks in
advance.

While it may work, I would not use values within the SIGMAX/MIN range. They
are reserved , AFAIK, for future use.

-Adam

“Douglas Reed” <dreed@guise.com> wrote in message
news:3BF08462.81DD1DD@guise.com

I see that _SIGMAX is 32, and _SIGMIN is 1, but the defined values for
signals run from 1 to 28. Is it permissible to define other signals for
29, 30, and 31 (assuming that the range runs from 0 to 31) as in #define
SIGUSR3 29? If not, what are those other values used for? Thanks in
advance.

While it may work, I would not use values within the SIGMAX/MIN range. They
are reserved , AFAIK, for future use.

-Adam