SCO Unix 3.2 brk()/sbrk() problems????

Brian Chapman chapman at sco.COM
Sat Jan 5 06:10:51 AEST 1991


chapman at sco.COM (Brian Chapman) writes:

>The size of data was never decreased or cleared, even in exec()!

I recieved some mail, so I would like to be very clear here.

The actual size of the process *is* reduced when you sbrk() down,
that is to say the memory above the new sbrk() *is* given back
to the operating system.  It is simply not reported correctly to ps(C).

-- 
Brian Chapman		uunet!sco!chapman
Pay no attention to the man behind the curtain!



More information about the Comp.unix.sysv386 mailing list