SynopsisReturn the document file handle for the current web page. Prototype#include "webs.h" int websGetRequestDocFd(webs_t wp); Parameters
DescriptionThe websGetRequestDocFd procedure returns the web page file handle defined for this browser connection. This is only defined if a URL Handler has set the handle via websSetRequestDocFd. Return ValueReturns -1 if there is no document handle defined, otherwise the handle is returned. Examplefd = websGetRequestDocFd(wp); read(fd, buf, sizeof(buf); Stability ClassificationStable. See AlsowebsGetRequestBytes, websSetRequestPath, websSetRequestDocFd |