_chdir.c

Go to the documentation of this file.
00001 #include <lib.h>
00002 #define chdir   _chdir
00003 #define fchdir  _fchdir
00004 #include <unistd.h>
00005 
00006 PUBLIC int chdir(name)
00007 _CONST char *name;
00008 {
00009   message m;
00010 
00011   _loadname(name, &m);
00012   return(_syscall(FS, CHDIR, &m));
00013 }
00014 
00015 PUBLIC int fchdir(fd)
00016 int fd;
00017 {
00018   message m;
00019 
00020   m.m1_i1 = fd;
00021   return(_syscall(FS, FCHDIR, &m));
00022 }

Generated on Fri Apr 14 22:57:27 2006 for minix by  doxygen 1.4.6