1 /* print the current environment to track eventually changed settings.
3 * Copyright (C) 2008 Bernhard Fischer
5 * Licensed under GPLv2 or later, see
6 * http://www.gnu.org/licenses/gpl.txt
14 for (envp
= environ
; *envp
; envp
++) {
15 if (envp
[0][0] == '_' && envp
[0][1] == '=')
16 continue; /* Skip last command */
17 if (puts(*envp
) <= 0) {