#ifndef __LUNAIX_FCTRL_H #define __LUNAIX_FCTRL_H #include #include __LXSYSCALL2(int, open, const char*, path, int, options); __LXSYSCALL1(int, close, int, fd); __LXSYSCALL1(int, mkdir, const char*, path); __LXSYSCALL2(int, readdir, int, fd, struct dirent*, dent); __LXSYSCALL3(int, lseek, int, fd, int, offset, int, options); __LXSYSCALL3(int, read, int, fd, void*, buf, unsigned int, count); __LXSYSCALL3(int, write, int, fd, void*, buf, unsigned int, count); #endif /* __LUNAIX_FCTRL_H */