This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: 5-arg linux mremap
- From: Andreas Jaeger <aj at suse dot de>
- To: Andrew Morton <akpm at digeo dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sun, 02 Feb 2003 11:40:28 +0100
- Subject: Re: 5-arg linux mremap
- References: <20030202021008.21a6a94e.akpm@digeo.com>
Andrew Morton <akpm@digeo.com> writes:
> Does glibc have support for the five-arg form of mremap
> on Linux? I couldn't find it...
>
> #include <asm/unistd.h>
>
> #define __NR_mremap2 __NR_mremap
>
> _syscall5( void *, mremap2,
> void *, old_addr,
> unsigned long, old_len,
> unsigned long, new_len,
> unsigned long, flags,
> void *, new_addr)
I couldn't find it either. What's the difference? Just the new
parameter void *new_addr?
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj