Table of Contents

Name

cgiSetType - Specify the result type

Synopsys

#include <cgi.h>

int cgiSetType (char *type);

Description

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.

Author

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

See Also

cgiHeader(3) , cgiSetHeader(3) , cgiInit(3) .


Table of Contents