Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
bwh
/
klibc
/
d8d26edbf94316286900ecf363382b0fcc2d76b2
/
.
/
usr
/
klibc
/
rename.c
blob: d76b7397502ab524044aa963876fbb689a9cc70a [
file
] [
log
] [
blame
]
#include
<fcntl.h>
#include
<stdio.h>
#ifndef
__NR_rename
int
rename
(
const
char
*
oldpath
,
const
char
*
newpath
)
{
return
renameat2
(
AT_FDCWD
,
oldpath
,
AT_FDCWD
,
newpath
,
0
);
}
#endif
/* __NR_rename */