Commit | Line | Data |
---|---|---|
f6227721 SL |
1 | #ifndef lint |
2 | static char sccsid[] = "@(#)setbrk.c 4.2 %G%"; | |
3 | #endif | |
04b76f10 KM |
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 | } |