cgiSetType(3)

cgiSetType3

Specify the result type

Synopsys

#include <cgi.h>

int cgiSetType (char *type);

Overview

This routine sets the result type to type. This routine may be used optional. Default is "text/html". It will be used by cgiHeader(3).

Return value

On success 1 is returned, otherwise 0.

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.