I've just changed the name, it's more understandable
This commit is contained in:
parent
e759db9e6d
commit
2c72c6970b
14
C_Language/printenv.c
Normal file
14
C_Language/printenv.c
Normal 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++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user