> I have to save/restore the heap space in my program.  The problem
> is, in linux, at which exact address the heap starts. Does heap
> start from a fixed address in linux?

No.The loads all segments of the executable image, and sets the brk
right after it. So it depends on the size of the executable where the
heap starts.

Regards,
Martin

Reply via email to