This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
mremap prototyp
- From: Andreas Jaeger <aj at suse dot de>
- To: libc-alpha at sources dot redhat dot com
- Cc: Andi Kleen <ak at suse dot de>
- Date: Wed, 03 Apr 2002 17:29:29 +0200
- Subject: mremap prototyp
Andi noticed that our mremap implementation is not correct.
The Linux kernel implements mremap as:
asmlinkage unsigned long sys_mremap(unsigned long addr,
unsigned long old_len, unsigned long new_len,
unsigned long flags, unsigned long new_addr)
But we have:
extern void *mremap (void *__addr, size_t __old_len, size_t __new_len,
int __may_move) __THROW;
What shall we do? Add the fifth argument everywhere? Can we just
change the interface in glibc?
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj