clearenv man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

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)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net