fprintf(stderr, "multiple snark executions in the same directory are not allowed!\n");
exit(0); /* can not lock */
}
/* only first instance continues */
char str[10];
sprintf(str,"%d\n",getpid());
fprintf(stderr, "multiple snark executions in the same directory are not allowed!\n");
exit(0); /* can not lock */
}
/* only first instance continues */
char str[10];
sprintf(str,"%d\n",getpid());