Is there any way to create a user defined signals in Linux? My signal (signal number) should not match any of the existing signal numbers.
In other words, i want to create my own unique signal, which will be registered and caught by my handler.
Is it possible? If yes, how?
Thanks in advance.
You can’t add or register your own SIGWHATEVER.
See
sigset_t, it is fixed size. Seevalid_signal()beartraps.