Added comments regarding direct FS usage in fs.h.

This commit is contained in:
yellows8 2018-02-24 21:38:53 -05:00
parent e24c20f9e7
commit b964c69da8

View File

@ -1,6 +1,7 @@
/**
* @file fs.h
* @brief Filesystem (fsp-srv) service IPC wrapper.
* Normally applications should just use standard stdio not FS-serv directly. However this can be used if obtaining a FsFileSystem, FsFile, or FsStorage, for mounting with fs_dev/romfs_dev.
* @author plutoo
* @author yellows8
* @copyright libnx Authors
@ -91,7 +92,9 @@ void fsExit(void);
Service* fsGetServiceSession(void);
/// Do not call this directly, see fs_dev.h.
Result fsMountSdcard(FsFileSystem* out);
Result fsMountSaveData(FsFileSystem* out, u8 inval, FsSave *save);
Result fsOpenDataStorageByCurrentProcess(FsStorage* out);
// todo: Rest of commands here