9 static void dummy(void) { }
10 weak_alias(dummy
, __vm_wait
);
12 void *__mremap(void *old_addr
, size_t old_len
, size_t new_len
, int flags
, ...)
17 if (new_len
>= PTRDIFF_MAX
) {
22 if (flags
& MREMAP_FIXED
) {
25 new_addr
= va_arg(ap
, void *);
29 return (void *)syscall(SYS_mremap
, old_addr
, old_len
, new_len
, flags
, new_addr
);
32 weak_alias(__mremap
, mremap
);