Adjust the mail address
[infodrom/cgilib] / cgiSetType.3
1 .\" cgiSetType - Specify the result type
2 .\" Copyright (c) 1999 by Martin Schulze <joey@infodrom.org>
3 .\" 
4 .\" This program is free software; you can redistribute it and/or modify
5 .\" it under the terms of the GNU General Public License as published by
6 .\" the Free Software Foundation; either version 2 of the License, or
7 .\" (at your option) any later version.
8 .\" 
9 .\" This program is distributed in the hope that it will be useful,
10 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 .\" GNU General Public License for more details.
13 .\" 
14 .\" You should have received a copy of the GNU General Public License
15 .\" along with this program; if not, write to the Free Software
16 .\" Foundation, Inc.,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 .\"
18 .TH cgiSetType 3 "15 August 1999" "CGI Library" "Programmer's Manual"
19 .SH NAME
20 cgiSetType \- Specify the result type
21 .SH SYNOPSYS
22 .nf
23 .B #include <cgi.h>
24 .sp
25 .BI "int cgiSetType (char *" type );
26 .fi
27 .SH DESCRIPTION
28 This routine sets the result type to
29 .IR type .
30 This routine may be used optional.  Default is "text/html".  It will
31 be used by
32 .BR cgiHeader (3).
33
34 .SH "RETURN VALUE"
35 On success 1 is returned, otherwise 0.
36
37 .SH "AUTHOR"
38 This CGI library is written by Martin Schulze
39 <joey@infodrom.org>.  If you have additions or improvements
40 please get in touch with him.
41
42 .SH "SEE ALSO"
43 .BR cgiHeader (3),
44 .BR cgiSetHeader (3),
45 .BR cgiInit (3).