summaryrefslogtreecommitdiff
path: root/src/stdio/rename.c
blob: 4eced08a6656b4c19322a9c3dee85f14ce7c3d12 (plain)
1
2
3
4
5
6
7
#include <stdio.h>
#include "syscall.h"

int rename(const char *old, const char *new)
{
	return syscall2(__NR_rename, (long)old, (long)new);
}