xref: /original-bsd/old/sh/setbrk.c (revision 1403a0cd)
1 #ifndef lint
2 static char sccsid[] = "@(#)setbrk.c	4.2 08/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 }
22