Skip to content

Commit

Permalink
testsuite/023-env/001.c: expand test
Browse files Browse the repository at this point in the history
  • Loading branch information
pipcet committed Jan 30, 2021
1 parent 84b816c commit 7ea518d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testsuite/023-env/001.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#include <stdio.h>
#include <unistd.h>

int main(int argc, char **argv, char **envp)
{
printf("environ %p %p\n", __environ, &__environ);
while (*envp) {
printf("%s\n", *envp++);
}
Expand Down

0 comments on commit 7ea518d

Please sign in to comment.