summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/renameat.c
blob: fde966c4dc622132c70d020bc199f727b41dc09d (plain)
1
2
3
4
5
6
7
8
#include "asm/unistd_64.h" // for __NR_renameat

#include <syscall.h> // for __syscall_4, syscall

int renameat(int oldfd, const char *old, int newfd, const char *new)
{
	return syscall(renameat, oldfd, old, newfd, new);
}