about summary refs log tree commit diff
path: root/src/unistd/chdir.c
blob: c89bda3889ed362ac6e41aae69cd40c8be02471c (plain) (blame)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

int chdir(const char *path)
{
	return syscall1(__NR_chdir, (long)path);
}