cgiDebug(3)

πŸ“¦ version 0.6, in ubuntu jammy

✨ 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 β€” to stdout, as HTML 🌈
  • 0 β€” to stderr, 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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms