wcSetEnv( )

Syntax . . Returns . . Rules . . Tips . . Program Example . . Related Topics . . A-Z Index . . Home

This function sets the HTTP environment variable.

Example

returnvalue = wcSenEnv (wcp, "PATH_INFO", "/wcdaemon.exe");

Syntax

const char *wcSetEnv(const void *wcp,
                     const char *pszEnvName
                     const char *pszEnv Value)
wcpThe handle to the control structure
pszEnvNameThe HTTP environment variable
pszEnvValueThe value of the HTTP environment variable

Returns

This function, wcSetEnv( ), returns the new value of pszEnvName.

Rules

Tips

Program Example

wcSenEnv (wcp, "PATH_INFO", "/wcdaemon.exe");

Related Topics

wcGetEnv( )


Top of Page . . Syntax . . Returns . . Rules . . Tips . . Program Example . . A-Z Index . . Home