Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find out the supported max number of signals on the platform #11

Open
vorner opened this issue Nov 30, 2018 · 0 comments
Open

Find out the supported max number of signals on the platform #11

vorner opened this issue Nov 30, 2018 · 0 comments

Comments

@vorner
Copy link
Owner

vorner commented Nov 30, 2018

Sometimes it is nice to have an array indexed by signals preallocated. To do that, we would need to know what the max signal number on a given platform is.

This should be possible to find out by calling sigaction with both pointers set to NULL with increasing number as the signal. This assumes there are no „holes“ in the signal numbers, though ‒ is that true?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant