www.beck-ipc.com

@CHIP-RTOS C Library - Common Gateway Interface API


CGI_SetRootDir

Set Web server's root directory.

int CGI_SetRootDir ( const char far *rootDirName );

Parameters

rootDirName

Pointer to the name of new root directory for Web server.

Return Value

0: success
non-zero: Failure, return value contains error code CGI_INVALID_DIR

Comments

The string at rootDirName is null terminated with a maximum length of 64 characters (not counting the terminating zero).

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3SC2x
    V1.00V1.00V1.00V0.90V1.00

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document