Query: cgisettype
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
cgiSetType(3) Programmer's Manual cgiSetType(3)NAMEcgiSetType - Specify the result typeSYNOPSYS#include <cgi.h> int cgiSetType (char *type);DESCRIPTIONThis 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 VALUEOn success 1 is returned, otherwise 0.AUTHORThis CGI library is written by Martin Schulze <joey@infodrom.org>. If you have additions or improvements please get in touch with him.SEE ALSOcgiHeader(3), cgiSetHeader(3), cgiInit(3). CGI Library 6 April 2008 cgiSetType(3)