cgiFree(3) 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 <[email protected]>. If you have additions or improvements please get in touch with him.