cgisettype(3) - Linux man page

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).

Referenced By

cgi(5), cgifree(3)