This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: 5-arg linux mremap
- From: Philip Blundell <pb at nexus dot co dot uk>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: Andrew Morton <akpm at digeo dot com>, libc-alpha at sources dot redhat dot com
- Date: 02 Feb 2003 14:34:55 +0000
- Subject: Re: 5-arg linux mremap
- Organization:
- References: <20030202021008.21a6a94e.akpm@digeo.com> <u8of5vx8wz.fsf@gromit.moeb>
On Sun, 2003-02-02 at 10:40, Andreas Jaeger wrote:
> Andrew Morton <akpm@digeo.com> writes:
>
> > Does glibc have support for the five-arg form of mremap
> > on Linux? I couldn't find it...
> I couldn't find it either. What's the difference? Just the new
> parameter void *new_addr?
Yeah. You set (flags & MREMAP_FIXED) to say that you want to use the
extra parameter. It's existed in Linux for some years, but this variant
is of such minority interest and limited portability that it has never
really seemed worth putting into libc. It'd be easy to add, though.
p.