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

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