5-arg linux mremap

Andreas Jaeger aj@suse.de
Sun Feb 2 13:33:00 GMT 2003


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



More information about the Libc-alpha mailing list