clearenv man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

clearenv(3)							   clearenv(3)

NAME
       clearenv - Clears the process environment

SYNOPSIS
       #include <stdlib.h>

       int clearenv(
	       void );

LIBRARY
       Standard C Library (libc)

DESCRIPTION
       The clearenv() function clears the process environment.	No environment
       variables are defined immediately  after	 a  call  to  clearenv().  The
       clearenv()  function sets the value of the external variable environ to
       NULL.

NOTES
       Trial use

RETURN VALUES
       Upon successful completion, the clearenv() function returns  0  (zero).
       Otherwise, it returns -1.

       If  environ  has	 been  modified	 by  anything other than the putenv(),
       getenv(), or clearenv() functions, then clearenv() will return an error
       and the process environment will remain unchanged.

SEE ALSO
       Functions: exec(2), getenv(3), putenv(3)

								   clearenv(3)
[top]

List of man pages available for DigitalUNIX

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