cgiDebug(3)

cgiDebug3

Set the debug level for cgi programming

Synopsys

#include <cgi.h>

void cgiDebug (int level, int where);

Overview

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.

Return value

cgiDebug() does not return a value.

Releases

13 releases since Debian 2.0 (Hamm); the text changed 2 times.

  1. 2.0–2.1
  2. 2.2–4.0
  3. 5.0–11

Author

This CGi library is written by Martin Schulze <[email protected]>. If you have additions or improvements please get in touch with him.

From cgilib 0.6-1.1+b1 in Debian 11 (Bullseye). Parsed by carta from the page's man source.