cgiDebug(3) Programmer's Manual cgiDebug(3)NAMEcgiDebug - 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 sup‐
ported. The second argument where specifies if debug output should be
written to stdout using HTML (1), to stderr as plain text (0, default),
or to syslog (2).
This shoud be the first one called from the CGI library.
RETURN VALUEcgiDebug() does not return a value.
AUTHOR
This CGi library is written by Martin Schulze <joey@infodrom.org>. If
you have additions or improvements please get in touch with him.
SEE ALSOcgiInit(3), cgiHeader(3), cgiGetValue(3).
CGI Library 6 April 2008 cgiDebug(3)