cgiSetType - Specify the result type
Contents
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).
Name
cgiSetType - Specify the result type
Return Value
On success 1 is returned, otherwise 0.
See Also
cgiHeader(3), cgiSetHeader(3), cgiInit(3). CGI Library 6 April 2008 cgiSetType(3)
Synopsys
#include<cgi.h>intcgiSetType(char*type);
