For anything else we are probably better using overlays for stuff like
mkdir and rmdir than being incompatible
arg_t _rename(void)
{
-#ifndef CONFIG_LEVEL_0
staticfast inoptr srci, srcp, dsti, dstp;
char fname[FILENAME_LEN + 1];
arg_t ret;
if (dsti)
i_deref(dsti);
goto nogood2;
-#else
- udata.u_error = -ENOSYS;
- return -1;
-#endif
}
#undef src
arg_t _mkdir(void)
{
-#ifndef CONFIG_LEVEL_0
inoptr ino;
inoptr parent;
char fname[FILENAME_LEN + 1];
nogood2:
i_deref(parent);
return (-1);
-#else
- udata.u_error = -ENOSYS;
- return -1;
-#endif
}
#undef name
arg_t _rmdir(void)
{
-#ifndef CONFIG_LEVEL_0
inoptr ino;
inoptr parent;
if (parent) /* parent exist */
i_deref(parent);
return (-1);
-#else
- udata.u_error = -ENOSYS;
- return -1;
-#endif
}