plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

glob.c (820B)


      1 /*
      2  *
      3  * Global varibles - for PostScript translators.
      4  *
      5  */
      6 
      7 #include <stdio.h>
      8 #include "gen.h"
      9 
     10 char	**argv;				/* global so everyone can use them */
     11 int	argc;
     12 
     13 int	x_stat = 0;			/* program exit status */
     14 int	debug = OFF;			/* debug flag */
     15 int	ignore = OFF;			/* what we do with FATAL errors */
     16 
     17 long	lineno = 0;			/* line number */
     18 long	position = 0;			/* byte position */
     19 char	*prog_name = "";		/* and program name - for errors */
     20 char	*temp_file = NULL;		/* temporary file - for some programs */
     21 char	*fontencoding = NULL;		/* text font encoding scheme */
     22 
     23 int	dobbox = FALSE;			/* enable BoundingBox stuff if TRUE */
     24 double	pageheight = PAGEHEIGHT;	/* only for BoundingBox calculations! */
     25 double	pagewidth = PAGEWIDTH;
     26 
     27 int	reading = UTFENCODING;		/* input */
     28 int	writing = WRITING;		/* and output encoding */