Merge branch 'master' of ssh://gapil.gnulinux.it/srv/git/gapil
[gapil.git] / listati / 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 }