blob: 0dae9f11d4861f44a4219353ee92d082dd6ca03f (
plain)
1
2
3
4
5
6
7
|
#include <stdio.h>
#include "syscall.h"
int renameat(int oldfd, const char *old, int newfd, const char *new)
{
return syscall4(__NR_renameat, oldfd, (long)old, newfd, (long)new);
}
|