EUNICE signal problem.

larry at MITRE.arpa larry at MITRE.arpa
Tue Jul 29 08:29:53 AEST 1986


	HELP!
		Was wondering if anyone  out there is unlucky enough to
	be running EUNICE ? I have a problem with their signal handling
	software that I am hoping someone else knows a work around for.
	Here is a sample of a dead piece of code that runs correctly under
	a "real" UNIX system. Flames on EUNICE not necessary.. I already 
	know..

						-Larry.
----
#include <stdio.h>
#include <signal.h>

sigcatch()
{
  printf("caught signal..\n");
  exit(0);
}

main()
{
  signal(SIGILL,sigcatch);
  printf("Before Jmp r9\n");
  asm(".word 0x5917");
  printf("After Jmp to r9\n");
}



More information about the Comp.unix.wizards mailing list