fPaste.me

A free, anonymous, minimalist and open source paste tool.


Untitled
31-08-2020 10:52:16
Anonymous
#include <signal.h>
#include <stdio.h>

int main(int argc, const char argv[])
{
printf("SIGRTMIN=%d\nSIGRTMAX=%d\n", SIGRTMIN, SIGRTMAX);
const int n = SIGRTMAX - SIGRTMIN + 1;
printf("You have %d realtime signals you can use:\n", n);
for (int i = 0; i < n; i++) {
printf("\tSIGRTMIN+%d\t(int value %d)\n", i, SIGRTMIN+i);
}
return 0;
}