I've just changed the name, it's more understandable

master
Philippe Pittoli 2011-03-07 17:35:42 +01:00
parent e759db9e6d
commit 2c72c6970b
1 changed files with 14 additions and 0 deletions

14
C_Language/printenv.c Normal file
View File

@ -0,0 +1,14 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main( int argc, char **argv, char **envp)
{
// I will display all the environment variables
while(*envp != NULL)
{
printf("%s\n", *envp);
*envp++;
}
}