/// M311 - Demonstration de base #include #include #include #include #include int main (int argc, char* argv[]) { int resultat; if (argc != 2) { fprintf (stderr, "Syntaxe : %s \n\n", argv[0]); exit (1); } if ((resultat = mkdir (argv[1], 0777)) == -1) { perror ("Echec mkdir"); exit (2); } /// ... }