321293476a680c451a40154542e790d526bf92be
[gapil.git] / HandSigInt.c
1 void HandSigInt(int sig)
2 {
3     if (RemoveShm(shmname) != 0) perror("Cannot remove shared memory");
4     if (sem_unlink(semname)!= 0) perror("Cannot remove semaphore") ;
5     exit(0);
6 }