blob: 10c88827bd042c1cb029342c2854613436a8bc39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <fcntl.h>
#include <stdio.h>
#ifndef __NR_renameat
int renameat(int olddirfd, const char *oldpath,
int newdirfd, const char *newpath)
{
return renameat2(olddirfd, oldpath, newdirfd, newpath, 0);
}
#endif /* __NR_renameat */
|