minix/lib/libvtreefs/utility.c
David van Moolenbroek bee1f38e01 VTreeFS library
2010-08-10 20:05:51 +00:00

29 lines
802 B
C

/* VTreeFS - utility.c - by Alen Stojanov and David van Moolenbroek */
#include "inc.h"
/*===========================================================================*
* no_sys *
*===========================================================================*/
PUBLIC int no_sys(void)
{
/* This call is not recognized by VTreeFS. If a message hook is
* defined, let it handle the call; otherwise return ENOSYS.
*/
if (vtreefs_hooks->message_hook != NULL)
return vtreefs_hooks->message_hook(&fs_m_in);
return ENOSYS;
}
/*===========================================================================*
* do_noop *
*===========================================================================*/
PUBLIC int do_noop(void)
{
/* This call has no effect.
*/
return OK;
}