cgiGetVariables(3)

cgiGetVariables3

Returns a list of cgi variables

Synopsys

#include <cgi.h>

char **cgiGetVariables (s_cgi *parms);

Overview

This routine returns a NULL terminated array of CGI variables that are available. To get the value of a variable you'll have to use cgiGetValue(3). To free the memory allocated use cgiFreeList(3).

Return value

On success a NULL terminated array of strings is returned. The last element is set to NULL. If an error occurred or if no variables are available NULL is returned.

Releases

11 releases since Debian 2.2 (Potato); the text changed 1 time.

  1. 2.2–4.0
  2. 5.0–11

Author

This CGI library is written by Martin Schulze <[email protected]>. If you have additions or improvements please get in touch with him.

From cgilib 0.6-1.1+b1 in Debian 11 (Bullseye). Parsed by carta from the page's man source.