On Fri, Mar 03, 2000 at 12:08:54PM +0530, [EMAIL PROTECTED] wrote:
> Hi all,
> 
> Is there any library function supported by gcc, which takes a void pointer and
> returns true if that memory (pointed by that void pointer)  is owned by that
> process or not?

You have some basic misconceptions here.

(a) Compiler doesn't have to support a function. I haven't heard of any
    compiler that doesn't support a function present in a given library.
    You probably want to ask - does such a function exist ?
(b) A process always owns all of its memory. For shared memory, the ownership
    is collective.

        -Arun

-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH

Reply via email to