Début du producteur

master
Philippe Pittoli 2011-03-17 17:31:26 +01:00
parent f39c6934dd
commit 340b9beab2
2 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,10 @@
int main( int argc, char **argv) int main( int argc, char **argv)
{ {
if(argc < 2) { printf("Usage : %s numIPC\n"); exit(EXIT_FAILURE); }
int clef = atoi(argv[1]);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
return -1;
} }

View File

@ -10,7 +10,7 @@
int main( int argc, char **argv) int main( int argc, char **argv)
{ {
if(argc < 3) { printf("Usage %s numIPC message\n", argv[0]); exit(EXIT_FAILURE); } if(argc < 2) { printf("Usage %s numIPC\n", argv[0]); exit(EXIT_FAILURE); }
int *zone; int *zone;
int memid; int memid;
int clef = atoi(argv[1]); int clef = atoi(argv[1]);