websWrite | GoAhead WebServer API | GoAhead EMF |
Write formatted data to the user's browser
#include "webs.h" int websWrite(webs_t wp, char_t *fmt, ...);
wp | Web server connection handle |
fmt | Output format string |
... | Variable arguments to supply data for the format string |
The websWrite procedure is the primary routine to write formatted data back to the user's browser. It can be used within both ASP procedures and Form procedures. It uses a printf style format string with a variable number of arguments. Data will be immediately flushed to the user's browser.
The number of bytes actually written.
websWrite(wp, "Name %s, Address %s", name, address);
Active Server Pages, Forms, websDone, websFooter, websHeader