*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: clearenv | Section: 3 | Source: Digital UNIX | File: clearenv.3.gz
clearenv(3) Library Functions Manual clearenv(3) NAME clearenv - Clears the process environment LIBRARY Standard C Library (libc.a) 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(). 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 er- ror and the process environment will remain unchanged. RELATED INFORMATION Functions: exec(2), getenv(3), putenv(3) delim off clearenv(3)

Navigation Options