Subject: sbrk() semantics ....
To: None <tech-kern@NetBSD.ORG>
From: Andrew Cagney <cagney@highland.com.au>
List: tech-kern
Date: 03/10/1995 09:41:31
Hello,

Below is what I understand to be the semantics of sbrk.  Firstly is this
correct and secondly should the manual page reflect this (the copy I had
didn't :-).

	sbrk(invalid-arg)	return -1
	sbrk(0)		return `curbrk'  -- current break
	sbrk(N)		tmp = `curbrk', `curbrk' = tmp + N, return tmp

	regards,
		Andrew