While i was implementing the signal framework i've noticed that the num field in signals is of type int. Is there any reason for the possibility to not only submit negative numbers of signals, but also receive negative numbers of signals?
Greets, Martin
Hi Martin,
you are right that negative signal counts do not make much sense. I think we should change the type to unsigned to avoid confusion.
Cheers Norman
Am Dienstag, den 08.05.2012, 16:57 +0200 schrieb Martin Stein:
While i was implementing the signal framework i've noticed that the num field in signals is of type int. Is there any reason for the possibility to not only submit negative numbers of signals, but also receive negative numbers of signals?
man 2 kill man 2 signal
I guess it's for historical reasons. :)
Julian