/** Copyright 2004-2009, Axel DΓΆrfler, axeld@pinc-software.de.* Distributed under the terms of the MIT License.*/#include <errno.h>#include <stdio.h>#include <errno_private.h>#include <syscalls.h>#include <syscall_utils.h>intrename(const char *from, const char *to){return renameat(AT_FDCWD, from, AT_FDCWD, to);}intrenameat(int fromFD, const char* from, int toFD, const char* to){RETURN_AND_SET_ERRNO(_kern_rename(fromFD, from, toFD, to));}