resolve merge conflict small changes in heredoc
This commit is contained in:
17
tests/env_var_test.c
Normal file
17
tests/env_var_test.c
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
# include <stdio.h>
|
||||
# include <stdlib.h>
|
||||
|
||||
int main(int argc, char *argv[], char *envp[])
|
||||
{
|
||||
int i;
|
||||
|
||||
printf("argc = %i\n", argc);
|
||||
i = 0;
|
||||
while (argv[i])
|
||||
{
|
||||
printf("%s = |%s|\n", argv[i], getenv(argv[i]));
|
||||
i++;
|
||||
}
|
||||
return (0);
|
||||
}
|
||||
Reference in New Issue
Block a user