Detect the max signal value that can be used using NSIG macro