xref: /plan9-contrib/sys/src/cmd/postscript/common/ext.h (revision 7dd7cddf99dd7472612f1413b4da293630e6b1bc)
1 /*
2  *
3  * External varibles - most are in glob.c.
4  *
5  */
6 
7 extern char	**argv;			/* global so everyone can use them */
8 extern int	argc;
9 
10 extern int	x_stat;			/* program exit status */
11 extern int	debug;			/* debug flag */
12 extern int	ignore;			/* what we do with FATAL errors */
13 
14 extern long	lineno;			/* line number */
15 extern long	position;		/* byte position */
16 extern char	*prog_name;		/* and program name - for errors */
17 extern char	*temp_file;		/* temporary file - for some programs */
18 extern char	*fontencoding;		/* text font encoding scheme */
19 
20 extern int	dobbox;			/* enable BoundingBox stuff if TRUE */
21 extern double	pageheight;		/* only for BoundingBox calculations! */
22 extern double	pagewidth;
23 
24 extern int	reading;		/* input */
25 extern int	writing;		/* and output encoding */
26 
27 extern char	*optarg;		/* for getopt() */
28 extern int	optind;
29 
30 extern void	interrupt();
31 extern char	*tempnam(char*,char*);
32 /*
33  * extern char	*malloc();
34  * extern char	*calloc();
35  * extern char	*strtok();
36  * extern long	ftell();
37  * extern double	atof();
38  * extern double	sqrt();
39  * extern double	atan2();
40  */
41