2 * Copyright (C) 2017 Andes Technology, Inc.
3 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
11 #include <sys/syscall.h>
14 void *mremap (void *__addr
, size_t __old_len
, size_t __new_len
,
16 libc_hidden_proto(mremap
)
18 void *mremap (void *__addr
, size_t __old_len
, size_t __new_len
, int __flags
, ...)
22 va_start (arg
, __flags
);
23 arg1
= va_arg (arg
, int);
25 return (void *)INLINE_SYSCALL(mremap
,5,__addr
,__old_len
,__new_len
,__flags
,arg1
);
27 libc_hidden_def (mremap
)