cgiDebug(3)

NAME
cgiDebug - Set the debug level for cgi programming

SYNOPSYS
#include <cgi.h>

void cgiDebug(int level, int where);

DESCRIPTION
This routine controls debugging for the cgi library. At the moment only level 0 (default, no debugging) and 1 (debugging enabled) are supported. The second argument where specifies if debug output should be written to stdout using HTML (1) or to stderr as plain text (0, default). This shoud be the first one called from the cgi library.

RETURN VALUE
cgiDebug() does not return a value.

AUTHOR
This cgi library is written by Martin Schulze <joey@infodrom.north.de>. If you have additions or improvements please get in touch with him.

SEE ALSO
cgiInit(3), cgiHeader(3), cgiGetValue(3).