Annotation of researchv9/cmd/sh/shsetbrk.c, revision 1.1

1.1     ! root        1: /*     @(#)setbrk.c    1.4     */
        !             2: /*
        !             3:  *     UNIX shell
        !             4:  *
        !             5:  *     Bell Telephone Laboratories
        !             6:  *
        !             7:  */
        !             8: 
        !             9: #include       "defs.h"
        !            10: 
        !            11: char   *sbrk();
        !            12: 
        !            13: char*
        !            14: setbrk(incr)
        !            15: {
        !            16: 
        !            17:        register char *a = sbrk(incr);
        !            18: 
        !            19:        brkend = a + incr;
        !            20: #ifdef CRAY
        !            21:        brkend = endcp;
        !            22: #endif
        !            23:        return(a);
        !            24: }

unix.superglobalmegacorp.com

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