On Thu, Mar 30, 2006 at 10:37:25AM -0600, Ram Gupta wrote: > Is there a system call or library function which a process can use to > determine the start of its data segment . I need to know the start of > the data segment so that process does not cross its DATA limit. Using > this information & sbrk it knows how much data space is already used & > how much it can grow further without crossing the limit. I think getrlimit() might be what you are looking for. -- Jon "RISC architecture is gonna change everything." -Kate Libby
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: How to determine the start of DATA segment
- From: "Ram Gupta" <[email protected]>
- Re: How to determine the start of DATA segment
- References:
- How to determine the start of DATA segment
- From: "Ram Gupta" <[email protected]>
- How to determine the start of DATA segment
- Prev by Date: Re: [NFS] Re: NFS/Kernel Problem: getfh failed: Operation not permitted
- Next by Date: Re: [2.6.16-gitX] PNP: No PS/2 controller found. Probing ports directly.
- Previous by thread: How to determine the start of DATA segment
- Next by thread: Re: How to determine the start of DATA segment
- Index(es):