Quoting Mike Marion <[EMAIL PROTECTED]>:
After further study, one of the other guys in my group found that this behavior
only happens when you don't include stdlib.h, which they didn't do in their
code, and so neither did we in our test snippets. When you include that
header, it works as you'd expect (though I'd still think it's safer to avoid
it).
Odd that it compiled at all and didn't error out since getenv() doesn't appear to be declared in any other includes.
-- Mike Marion-Unix SysAdmin/Staff Engineer-http://www.miguelito.org Marge: "Homer, sitting that close to the TV can't be good for you." Homer: "Talking while the TV's on can't be good for you!" ==> Simpsons
-- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
