diff options
| author | rsc <devnull@localhost> | 2004-05-15 23:55:53 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2004-05-15 23:55:53 +0000 |
| commit | 61f5c35c9465f0702739b41249a664d409f0482c (patch) | |
| tree | 17546b7dcc76abd9ee74dc7543cc77121acfe39a /src/cmd/postscript/common/glob.c | |
| parent | 173302913ebce353eadcbb12d71c3759cbe79e34 (diff) | |
| download | plan9port-61f5c35c9465f0702739b41249a664d409f0482c.tar.gz plan9port-61f5c35c9465f0702739b41249a664d409f0482c.zip | |
more files
Diffstat (limited to 'src/cmd/postscript/common/glob.c')
| -rw-r--r-- | src/cmd/postscript/common/glob.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/cmd/postscript/common/glob.c b/src/cmd/postscript/common/glob.c new file mode 100644 index 00000000..2826f4e5 --- /dev/null +++ b/src/cmd/postscript/common/glob.c @@ -0,0 +1,29 @@ +/* + * + * Global varibles - for PostScript translators. + * + */ + +#include <stdio.h> +#include "gen.h" + +char **argv; /* global so everyone can use them */ +int argc; + +int x_stat = 0; /* program exit status */ +int debug = OFF; /* debug flag */ +int ignore = OFF; /* what we do with FATAL errors */ + +long lineno = 0; /* line number */ +long position = 0; /* byte position */ +char *prog_name = ""; /* and program name - for errors */ +char *temp_file = NULL; /* temporary file - for some programs */ +char *fontencoding = NULL; /* text font encoding scheme */ + +int dobbox = FALSE; /* enable BoundingBox stuff if TRUE */ +double pageheight = PAGEHEIGHT; /* only for BoundingBox calculations! */ +double pagewidth = PAGEWIDTH; + +int reading = UTFENCODING; /* input */ +int writing = WRITING; /* and output encoding */ + |
