logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cgiSetType - Specify the result type

Author

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

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

See Also