register char *ap;
volatile int a = 0;
extern int minbrk asm ("minbrk");
+ extern int curbrk asm ("curbrk");
extern int end;
minbrk = (int)&end;
+ curbrk = (int)&end;
environ = envp; /* environ is for the user that can't get at 'envp' */
if (ap = argv[0])
#if defined(LIBC_SCCS) && !defined(lint)
.data
/*.asciz "from: @(#)sbrk.s 5.1 (Berkeley) 5/12/90"*/
- .asciz "$Id: sbrk.S,v 1.1 1997/03/25 17:07:23 rahnds Exp $"
+ .asciz "$Id: sbrk.S,v 1.2 1997/04/21 21:04:37 rahnds Exp $"
.text
#endif /* LIBC_SCCS and not lint */
.globl curbrk
.data
+curbrk: .long 0
+/*
curbrk: .long _end
+*/
.text
ENTRY(sbrk)