Main Page   Data Structures   File List   Data Fields   Globals  

output.c

Go to the documentation of this file.
00001 /*
00002  * InCode - [ output.c ]
00003  * (c) 2002, J. Weeks
00004  * jweeks@mailandnews.com
00005  *
00006  */
00007 
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU General Public License as published by  *
00012  *   the Free Software Foundation; either version 2 of the License, or     *
00013  *   (at your option) any later version.                                   *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00017 #include <stdio.h>
00018 
00019 #include "output.h"
00020 
00021 FILE *output;
00022 
00023 int outputInit(char *fname) {
00024   output = fopen(fname, "w");
00025   return 0;
00026 }
00027 
00028 int outputClose(void) {
00029   fclose(output);
00030   return 0;
00031 }

Generated on Thu Feb 14 09:15:11 2002 for InCode by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001