19 Jan
2007
19 Jan
'07
2:39 a.m.
I assume you're aware of it, but I wanted to make sure to report it.
OK, apparently it's really a portability issue: unsetenv returns void,
not int, on Darwin (and, I expect, on other BSD-ish systems). See the
following extract from the man page:
NAME
getenv, putenv, setenv, unsetenv -- environment variable functions
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include