Query: clearenv
OS: osf1
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
clearenv(3) Library Functions Manual clearenv(3)NAMEclearenv - Clears the process environmentLIBRARYStandard C Library (libc.a)SYNOPSIS#include <stdlib.h> int clearenv ( void );DESCRIPTIONThe 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.NOTESTrial useRETURN VALUESUpon 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.RELATED INFORMATIONFunctions: exec(2), getenv(3), putenv(3) delim off clearenv(3)
| Related Man Pages |
|---|
| clearenv(3) - debian |
| clearenv(3) - centos |
| clearenv(3) - minix |
| clearenv(3) - opendarwin |
| clearenv(3) - mojave |
| Similar Topics in the Unix Linux Community |
|---|
| PHP Write Man Pages to MySQL DB |