1 /* vi: set sw=4 ts=4: */
5 * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org>
7 * GNU Library General Public License (LGPL) version 2 or later.
12 #include <sys/param.h>
14 #define __NR___syscall_chdir __NR_chdir
15 static inline _syscall1(int, __syscall_chdir, const char *, path);
16 int chdir(const char *path)
18 return __syscall_chdir(path);
20 libc_hidden_proto(chdir)
21 libc_hidden_def(chdir)