Annotation of 42BSD/ucb/lisp/franz/rlc.c, revision 1.1

1.1     ! root        1: #ifndef lint
        !             2: static char *rcsid =
        !             3:    "$Header: rlc.c,v 1.2 83/08/30 12:31:39 sklower Exp $";
        !             4: #endif
        !             5: 
        !             6: /*                                     -[Sat Jan 29 13:32:26 1983 by jkf]-
        !             7:  *     rlc.c                           $Locker:  $
        !             8:  * relocator for data space 
        !             9:  *
        !            10:  * (c) copyright 1982, Regents of the University of California
        !            11:  */
        !            12: 
        !            13: #define TRUE 1
        !            14: #include "h/global.h"
        !            15: #ifdef os_4_2
        !            16: #define brk _brk
        !            17: #endif
        !            18: extern char holend[], end[];
        !            19: extern int usehole;
        !            20: extern char *curhbeg;
        !            21: 
        !            22: rlc()
        !            23: {
        !            24:        char *cp, *dp;
        !            25:        
        !            26:        brk(end);
        !            27:        dp = holend;
        !            28:        cp = dp - HOLE;
        !            29:        while (dp < end)
        !            30:                *dp++ = *cp++;
        !            31:        curhbeg = holend - HOLE;        /* set up the hole */
        !            32:        usehole = TRUE;
        !            33: }

unix.superglobalmegacorp.com

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