ftp.nice.ch/Attic/openStep/developer/bundles/GDBbundle.1.0.s.tgz#/GDBbundle-1.0.s/debug/gdb/gdb/tests/sigtest.c

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.