IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


◆ CGI_SetRootDir()

int CGI_SetRootDir ( const char *  name)

This function sets the Web server's root directory.

Parameters
namePointer to the name of new root directory for Web server. The string must be null terminated with a maximum length of 64 characters (not counting the terminating zero).
Returns
zero on success, non-zero on failure. Return value contains error code CGI_INVALID_DIR.
Since
V0.80
See also
CGI_GetRootDir() CGI_SetRootDrive() CGI_GetRootDrive()





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Dec 12 2017 09:23:36 by Doxygen 1.8.13