|
|
1.1 ! root 1: # include <ingres.h> ! 2: # include <aux.h> ! 3: # include "scanner.h" ! 4: # include <sccs.h> ! 5: # include <errors.h> ! 6: ! 7: SCCSID(@(#)s_symtab.c 8.2 3/23/85) ! 8: ! 9: /* ! 10: ** SYMENT ! 11: ** enter a symbol into the symbol table ! 12: */ ! 13: char * ! 14: syment(ptr, len1) ! 15: char *ptr; ! 16: int len1; ! 17: { ! 18: register int len; ! 19: register char *p; ! 20: extern char *need(); ! 21: ! 22: len = len1; ! 23: p = need(Sbuf, len); ! 24: bmove(ptr, p, len); ! 25: return (p); ! 26: } ! 27: ! 28: /* ! 29: ** FREESYM ! 30: ** free all entries in the symbol table ! 31: */ ! 32: freesym() ! 33: { ! 34: extern int neederr(); ! 35: ! 36: initbuf(Sbuf, SBUFSIZ, SBUFOFLO, neederr); ! 37: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.