2 * Copyright 2004-2009, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
10 #include <errno_private.h>
12 #include <syscall_utils.h>
16 rename(const char *from
, const char *to
)
18 RETURN_AND_SET_ERRNO(_kern_rename(-1, from
, -1, to
));
23 renameat(int fromFD
, const char* from
, int toFD
, const char* to
)
25 RETURN_AND_SET_ERRNO(_kern_rename(fromFD
, from
, toFD
, to
));