websGetDefaultDir | GoAhead WebServer API | GoAhead EMF |
Return the path of the default web page directory
#include "webs.h" char_t *websGetDefaultDir();
none |
The websGetDefaultDir procedure returns a local pathname for the default web directory. The default web directory is set by the websSetDirprocedure. Although many web page directories can be configured by using URL Handlers, the web page directory configured via websSetDir is designated as the default.
Pointer to a static buffer containing a pathname. Do not call bfree on the result.
dir = websGetDefaultDir();
websGetDefaultPage, websHandlerDefine, websSetDefaultDir, websSetDefaultPage