cgiDebug(3)
β¨ cgiDebug(3) β¨
ok so bestie, we're in the Programmer's Manual section today and the vibe is: debugging your CGI stuff π
πΈ NAME πΈ
cgiDebug β sets the debug level for CGI programming, no cap πβ¨
π SYNOPSYS π
#include <cgi.h>
void cgiDebug (int level, int where);
π DESCRIPTION π
okay so this routine is literally the remote control for debugging in the cgi library πΊβ¨
right now? only two level values are supported:
0β the default, which means no debugging at all π1β debugging enabled, we're cooking π₯
and then the second argument, where, tells you where all that debug output is gonna go:
1β tostdout, as HTML π0β tostderr, as plain text (this is the default, she's lowkey the moment) π«Ά2β to syslog π
this shoud be the first one called from the CGI library π like, first things first, bestie. (yes we're keeping the typo, it's part of the canon π)
β RETURN VALUE β
cgiDebug() does not return a value. it's giving "I do my job and I leave" π
no notes.
π¦ AUTHOR π¦
This CGi library is written by Martin Schulze <joey@infodrom.org>. If you have additions or improvements please get in touch with him. king behavior, honestly π
π SEE ALSO π
and that's the whole page, bestie!! π this is CGI Library β 6 April 2008 β cgiDebug(3), and that's periodt πβ¨
π¦ where this page comes from
- ubuntu jammy: cgilib 0.6-1.1
- Copyright (c) 1998,9,2007,8 by Martin Schulze <joey@infodrom.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms