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


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


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