#include #include #include static int maxLongPath=132; void parmela_(char*, int*); int main(int argc,char* argv[]) { if ( argc != 2 ) { printf(" usage : parmela complete_path_of_files \n"); return 0; } char workingPath[maxLongPath]; int taille = strlen(argv[1]); if ( taille < maxLongPath - 1) { strcpy(workingPath, argv[1]); } else { printf(" parmela ERROR : path name of working area too long (should be < %d \n",maxLongPath); return 0; } parmela_(workingPath, &taille); return 0; }