Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

cgiDebug - Set the debug level for CGI programming

Author

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

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), to stderr as plain text (0, default), or to syslog (2).

       This shoud be the first one called from the CGI library.

Name

       cgiDebug - Set the debug level for CGI programming

Return Value

cgiDebug() does not return a value.

See Also

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

CGI Library                                       6 April 2008                                       cgiDebug(3)

Synopsys

#include<cgi.h>voidcgiDebug(intlevel,intwhere);

See Also