This is sigtest.c in view mode; [Download] [Up]
#include <signal.h> void sigfunc(void) { printf("got the signal\n"); exit(1); } void main(void) { signal(SIGEMT, sigfunc); while (1); // *(char *)0 = 1; }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.