O'Reilly logo
  • Ivan Petrov thinks this is interesting:

for (i = 0; environ[i] != NULL; i++) printf("%s\n", environ[i])

From

Cover of Linux® Programming by Example

Note

iterating over environ; cool