hpux man page for clearenv

Query: clearenv

OS: hpux

Section: 3c

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

clearenv(3C)															      clearenv(3C)

NAME
clearenv - clear the process environment
SYNOPSIS
DESCRIPTION
clears the process environment. No environment variables are defined immediately after a call to modifies the value of the pointer environ. This means that copies of that pointer are invalid after a call to
RETURN VALUE
Upon successful completion, returns zero; otherwise, it returns -1 and sets to indicate the error.
ERRORS
fails if the following condition is encountered: [ENOMEM] Failed to free or reallocate memory for the process environment.
SEE ALSO
environ(5), getenv(3C), putenv(3C), thread_safety(5), <stdlib.h>.
STANDARDS CONFORMANCE
clearenv(3C)
Related Man Pages
clearenv(3) - redhat
clearenv(3) - suse
clearenv(3) - opendarwin
clearenv(3) - v7
clearenv(3) - bsd
Similar Topics in the Unix Linux Community
How to list file size on HPUX?
PHP Man Pages Now Available (Over 10,000)
Sequence extraction
Hpux 11iV3 administration document
Wrong Array...