CLEARENV(3) Domain/OS SysV CLEARENV(3)
NAME
clearenv - Clear the process environment
SYNOPSIS
#include <stdlib.h>
int clearenv (void);
DESCRIPTION
The clearenv function clears the process environment. No environment
variables are defined immediately after a call to clearenv.
DIAGNOSTICS
Upon successful completion, the clearenv function returns 0 (zero).
Otherwise, it returns -1.
SEE ALSO
exec(2), getenv(3), environ(3), putenv(3)