Mwnci setenv() Function

Syntax

setenv(string, value)

Description

The setenv() function sets the value of the environment variable named by the string. It returns true on success, otherwise false.

Example

setenv("PATH", "/usr/bin:/usr/local/bin")

true