I've just changed the name, it's more understandable
parent
e759db9e6d
commit
2c72c6970b
|
@ -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++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue