1: # include "../ingres.h"
2: # include "../aux.h"
3: # include "../scanner.h"
4:
5: /*
6: ** SYMENT
7: ** enter a symbol into the symbol table
8: */
9: char *
10: syment(ptr, len1)
11: char *ptr;
12: int len1;
13: {
14: register int len;
15: register char *p;
16: extern char *need();
17:
18: len = len1;
19: p = need(Sbuf, len);
20: bmove(ptr, p, len);
21: return (p);
22: }
23:
24: /*
25: ** FREESYM
26: ** free all entries in the symbol table
27: */
28: freesym()
29: {
30: extern int neederr();
31:
32: initbuf(Sbuf, SBUFSIZ, SBUFOFLO, &neederr);
33: }
Defined functions
syment
defined in line
9; used 9 times