cgi_destroy(3)

cgi_destroy3

Deallocate the data associated with a cgi

Usage

#include <cgi/cgi.h>
void cgi_destroy (CGI **cgi);

Arguments

cgi - a pointer to a pointer to a CGI struct

Overview

cgi_destroy will destroy all the data associated with a CGI, which mostly means the associated HDF and removal of any files that were uploaded via multipart/form-data. (Note that even in the event of a crash, these files will be deleted, as they were unlinked on creation and only exist because of the open file pointer)

Return value

cgi - NULL on output

Releases

10 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0–13

From clearsilver-dev 0.10.5-6+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.