mescc: Mes C Library: Support make: Add chdir, getlogin, setvbuf, sigblock.
[mes.git] / lib / linux / gnu.c
index 5fc30f9661c81bfb15d4369ea8e5dc8df57bf9b9..16237c502f7ae0ce2b7068c97ef5e5a69cc6820e 100644 (file)
 
 #include <sys/resource.h>
 
+int
+chdir (char const *file_name)
+{
+  return _sys_call1 (SYS_chdir, (long)file_name);
+}
+
 int
 link (char const *old_name, char const *new_name)
 {