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: }

Defined functions

freesym defined in line 32; used 1 times
Last modified: 1986-04-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 872
Valid CSS Valid XHTML 1.0 Strict