DOKK / manpages / debian 11 / cgilib / cgiFree.3.en
cgiFree(3) Programmer's Manual cgiFree(3)

cgiFree - Frees CGI data structure

#include <cgi.h>

void cgiFree (s_cgi *parms);

This routine frees memory allocated by CGI parsing routines. Temporary files from CGI file upload are also removed. This is the opposite of cgiInit(3).

After this routine was called, no variables, cookies, files and no additional header lines are available. The result type is also reset to "text/html".

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

cgiInit(3), cgiDebug(3), cgiHeader(3), cgiSetHeader(3), cgiSetType(3), cgiGetValue(3), cgiGetVariables(3) cgiGetCookie(3), cgiGetCookies(3).

6 April 2008 CGI Library