Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
1234567891011121314151617181920212223#include "mremap.h"#include "../errno.h"#include "../base.h"#include <linux-syscalls/linux.h>
extern long cerror(int __err);
VISIBLElong __linux_mremap(void* old_addr, unsigned long old_size, unsigned long new_size, int flags, void* new_address){ long rv;
rv = LINUX_SYSCALL(__NR_mremap, old_addr, old_size, new_size, flags, new_address); if (rv < 0 && rv >= -4095) { cerror(errno_linux_to_bsd(-rv)); return -1; }
return rv;}