summaryrefslogtreecommitdiff
path: root/src/unistd/chdir.c
blob: 91ef4a529caa672a9e735b7d39bd33784b7c6891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stddef.h>
#include <sys/types.h>
#include <unistd.h>
#include "_syscall.h"

int chdir(const char *path)
{
	SYSCALL(chdir, int, -1, path, 0, 0, 0, 0, 0);
}
/*
POSIX(1)
*/