Hlavní navigace

cgiSetType

NAME

cgiSetType - Specify the result type

SYNOPSYS

#include <cgi.h>
 I int cgiSetType (char * type );

DESCRIPTION

This routine sets the result type to R 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