File: EXTERNS

package info (click to toggle)
yorick 1.5.08-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 7,508 kB
  • ctags: 7,937
  • sloc: ansic: 75,604; cpp: 1,282; lisp: 1,217; sh: 1,026; makefile: 616; fortran: 19
file content (118 lines) | stat: -rw-r--r-- 2,924 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118

	Externals used by Gist library

     $Id: EXTERNS,v 1.1 1993/08/27 17:11:01 munro 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)