This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 5-arg linux mremap


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]