
	Externals used by Gist library

     $Id: EXTERNS,v 1.1 2005-09-18 22:04:18 dhmunro Exp $


Memory management <stdlib.h>:
-----------------------------

extern void *malloc(long);
extern void free(void *);
	dispas, dispat, dispax, draw, engine, gist, gread, xbasic, cgm

String manipulation <string.h>:
-------------------------------

extern void *memcpy(void *, const void *, unsigned long n);
	draw
extern int strcmp(const char *, const char *);
	bench, gread, cgm
extern int strncmp(const char *, const char *, unsigned long);
	ps
extern long strlen(const char *);
	draw, engine, gread, ps, cgm
extern char *strcpy(char *, char *);
	engine, tick, gread, ps, cgm, draw, gist, xbasic, xicky
extern char *strcat(char *, const char *);
	ps
extern char *strncat(char *, const char *, unsigned long);
	gread, ps, cgm
extern char *strtok(char *, const char *);
extern double strtod(const char *, char **);
extern long strtol(const char *, char **, int);
extern long strspn(const char *, const char *);
	gread
extern long strcspn(const char *, const char *);
	gread, gtext

extern char *strncpy(char *, const char *, unsigned long);
	fort


Mathematical functions <math.h>:
--------------------------------

extern double floor(double);
	draw, tick, cgm
extern double log10(double);
extern double ceil(double);
extern double exp10(double);         HAS_EXP10 selects between exp10 and
extern double pow(double,double);    pow -- only one or the other used
	draw, tick
extern double fabs(double);
	gist, tick
extern double sqrt(double);
	gist


System requests:
----------------

extern char *getenv(const char *);
	gread

extern int getpgrp(int);
extern int tcgetpgrp(int);
	dispas
extern int select(int, void *, void *, void *, void *);
	dispat


<time.h>:    (This header file must actually be included.)
---------

extern time_t time(time_t *);
extern char *ctime(time_t *);
	osys

<stdio.h>:   (This header file must actually be included.)
----------

extern FILE *fopen(const char *, const char *);
extern int fclose(FILE *);
extern char *fgets(char *, int, FILE *);
	gread, ps
extern int fputs(char *, FILE *);
	ps

extern int sprintf(char *, const char *, ...);
	draw, ps, tick
extern int fprintf(FILE *, const char *, ...);
	dispat

extern int fileno(FILE *);   (Actually a macro)
	dispas
extern char *cuserid(char *);
	osys

X Windows internal:
-------------------

extern int _XGetHostname();         This should be eliminated in favor
	xicky                       of simpler gethostname



Gist Routines or variables defined in one file and used in another:
-------------------------------------------------------------------

GpNiceUnit        (defined in tick.c, used in draw.c)

GaGetScratchP, GaGetScratchS
gaxScratch, gayScratch, gasScratch
                  (defined in gist.c, used in tick.c)

GistOpen          (defined in gread.c, used in ps.c)

gistTID           (defined in gist.c as hook for GKS emulator)
