# 2.11BSD#431 - /usr/src/bin/sh/setbrk.c

##### Functions

    setbrk            X

       1: #ifndef lint
       2: static char sccsid[] = "@(#)setbrk.c	4.2 8/11/83";
       3: #endif
       4:
       5: #
       6: /*
       7:  *	UNIX shell
       8:  *
       9:  *	S. R. Bourne
      10:  *	Bell Telephone Laboratories
      11:  *
      12:  */
      13:
      14: #include    "defs.h"
      15:
      16: setbrk(incr)
      17: {
      18:     REG BYTPTR  a=sbrk(incr);
      19:     brkend=a+incr;
      20:     return(a);
      21: }

#### Defined functions

setbrk defined in line 16; used 4 times

- in /usr/src/bin/sh/fault.c line 30
- in /usr/src/bin/sh/main.c line 44
- in /usr/src/bin/sh/stak.c line 39, 77

#### Defined variables

sccsid defined in line 2; never used

Last modified: 1983-08-12 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 577 |