wcGetEnv( )

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

This function retrieves the HTTP environment variable

Example

returnvalue = wcGetEnv (wcp, "PATH_INFO");

Syntax

Explain function syntax:

const char *wcGetEnv(const void *wcp,
                     const char *pszEnvName)
wcpThe handle to the control structure
pszEnvNameHTTP environment variable name

Returns

This function, wcGetEnv( ), returns the value of the HTTP environment variable.

Rules

Program Example

value = wcGetEnv (wcp, "PATH_INFO");

Related Topics

wcSetEnv( )


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