Meilleure indexation

master
Philippe Pittoli 2011-03-28 12:17:38 +02:00
parent b460b8f9ae
commit df1a36fa2e
1 changed files with 5 additions and 1 deletions

View File

@ -34,7 +34,11 @@ key_t sem_key_tpa = MUTEX_TPA;
int main( int argc, char **argv) int main( int argc, char **argv)
{ {
if(argc < 2) { printf("Usage : %s nSHM \n", argv[0]); exit(EXIT_FAILURE); } if(argc < 2)
{
printf("Usage : %s nSHM \n", argv[0]);
exit(EXIT_FAILURE);
}
shm_key = (key_t) atoi(argv[1]); shm_key = (key_t) atoi(argv[1]);
MEMP * memoireP; MEMP * memoireP;