We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da0fb2e commit 5ee98f7Copy full SHA for 5ee98f7
DisplayLinuxEnvirmentVariables.c
@@ -0,0 +1,8 @@
1
+#include <stdio.h>
2
+
3
+int main(int argc, char **argv, char **environ){
4
+ int i = -1;
5
6
+ while (environ[++i])
7
+ printf("%s\n",environ[i]);
8
+}
0 commit comments