#include <oskit/com/libcenv.h>oskit_error_t oskit_libcenv_getfsnamespace(oskit_libcenv_t *c, oskit_fsnamespace_t **out_fsn);
oskit_error_t oskit_libcenv_setfsnamespace(oskit_libcenv_t *c, oskit_fsnamespace_t *fsn);
Get (or set) the oskit_fsnamespace COM object from the oskit_libcenv COM object. The application initialization code will typically set the oskit_fsnamespace object when it initializes the root filesystem (see oskit_clientos_setfsnamespace above). The POSIX library then requests a reference to namespace object when the application first tries to use one of the filesystem interface calls in the POSIX library.
- c
- The oskit_libcenv object to operate on.
- out_fsn
- The oskit_fsnamespace object to return.
- fsn
- The oskit_fsnamespace object to set.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.