The following syscalls could be defined in Ndless but are not because not really needed. The libc definitions should be used instead of the POSIX definitions. Similarly the POSIX definitions should be used instead of Nucleus definitions.

All these definitions are untested.

_SYSCALL1(int, close, int)
_SYSCALL3(int, open, const char *, int, int)
_SYSCALL4(size_t, read, int, void *, size_t, off_t)
_SYSCALL4(size_t, write, int, void *, size_t, off_t)

_SYSCALL1(int, NU_Make_Dir, char *)
_SYSCALL1(int, NU_Remove_Dir, char *)
_SYSCALL1(int, NU_Close, int)
_SYSCALL3(int, NU_Read, int, char *, int)
_SYSCALL3(int, NU_Write, int, char *, int)
_SYSCALL3(int, NU_Seek, int, int, int)
_SYSCALL1(int, NU_Delete, char *)
_SYSCALL2(int, NU_Rename, char *, char *)
_SYSCALL1(int, NU_Flush, int)