summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/mremap.c
blob: f4a4670d25ec9c04f00034abb76023e0a61ca2a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* vi: set sw=4 ts=4: */
/*
 * mremap() for uClibc
 *
 * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org>
 *
 * GNU Library General Public License (LGPL) version 2 or later.
 */

#include "syscalls.h"
#include <unistd.h>
#include <sys/mman.h>
#define __NR___mremap __NR_mremap
attribute_hidden _syscall4(__ptr_t, __mremap, __ptr_t, old_address, size_t, old_size, size_t,
		  new_size, int, may_move);
strong_alias(__mremap,mremap)