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

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