Created
January 29, 2016 09:51
-
-
Save ptrcarta/20eb31faf631cec00c88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
extern char **environ; | |
int main(void) { | |
int i = 0; | |
while (environ[i]) { | |
puts(environ[i]); | |
i++; | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment