Annotation of 42BSD/ingres/source/parser/s_symtab.c, revision 1.1

1.1     ! root        1: # include      <ingres.h>
        !             2: # include      <aux.h>
        !             3: # include      "scanner.h"
        !             4: # include      <sccs.h>
        !             5: 
        !             6: SCCSID(@(#)s_symtab.c  7.1     2/5/81)
        !             7: 
        !             8: /*
        !             9: ** SYMENT
        !            10: **     enter a symbol into the symbol table
        !            11: */
        !            12: char *
        !            13: syment(ptr, len1)
        !            14: char   *ptr;
        !            15: int    len1;
        !            16: {
        !            17:        register int    len;
        !            18:        register char   *p;
        !            19:        extern char     *need();
        !            20: 
        !            21:        len = len1;
        !            22:        p = need(Sbuf, len);
        !            23:        bmove(ptr, p, len);
        !            24:        return (p);
        !            25: }
        !            26: 
        !            27: /*
        !            28: ** FREESYM
        !            29: **     free all entries in the symbol table
        !            30: */
        !            31: freesym()
        !            32: {
        !            33:        extern int      neederr();
        !            34: 
        !            35:        initbuf(Sbuf, SBUFSIZ, SBUFOFLO, neederr);
        !            36: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.