"depot M311"
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
/*
|
||||
gcc processus_2.c
|
||||
Exemple : ./a.out PATH
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
if (argc != 2)
|
||||
{
|
||||
fprintf (stderr, "Syntaxe : %s <nom-de-variable>\n", argv[0]);
|
||||
exit (1);
|
||||
}
|
||||
printf ("\n%s\n\n", getenv (argv[1]));
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user