Poster of Linux kernelThe best gift for a Linux geek
cgiSetType

cgiSetType

Section: Programmer's Manual (3) Updated: 6 April 2008
Local index Up
 

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.org>. If you have additions or improvements please get in touch with him.

 

SEE ALSO

cgiHeader(3), cgiSetHeader(3), cgiInit(3).


 

Index

NAME
SYNOPSYS
DESCRIPTION
RETURN VALUE
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 22:06:22 GMT, April 16, 2011