GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
psdriver/Graph_close.c
Go to the documentation of this file.
1 /*
2  * Close down the graphics processing. This gets called only at driver
3  * termination time.
4  */
5 
6 #include "psdriver.h"
7 
8 void PS_Graph_close(void)
9 {
10  if (!no_trailer) {
11  output("%%%%BeginTrailer\n");
12  output("END\n");
13  output("%%%%EndTrailer\n");
14  }
15 
16  fclose(outfp);
17 }
void PS_Graph_close(void)
fclose(fd)
int no_trailer
void output(const char *fmt,...)
FILE * outfp