summaryrefslogtreecommitdiff
path: root/05/musl-0.6.0/src/unistd/chdir.c
blob: c89bda3889ed362ac6e41aae69cd40c8be02471c (plain)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

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