mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 18:42:15 +02:00
Update header with new function
This commit is contained in:
parent
bf0df0c369
commit
dfa7e4d0e1
@ -25,10 +25,13 @@ typedef struct
|
|||||||
/// Initializes and mounts the sdmc device if accessible. Also initializes current working directory to point to the folder containing the path to the executable (argv[0]), if it is provided by the environment.
|
/// Initializes and mounts the sdmc device if accessible. Also initializes current working directory to point to the folder containing the path to the executable (argv[0]), if it is provided by the environment.
|
||||||
Result fsdevMountSdmc(void);
|
Result fsdevMountSdmc(void);
|
||||||
|
|
||||||
/// Mounts the input fs with the specified device name. fsdev will handle closing the fs when required, including when fsdevMountDevice() fails.
|
/// Mounts the input fs with the specified device name. fsdev will handle closing the fs when required (this can be avoided by unmounting it with fsdevDeleteDevice), including when fsdevMountDevice() fails.
|
||||||
/// Returns -1 when any errors occur.
|
/// Returns -1 when any errors occur.
|
||||||
int fsdevMountDevice(const char *name, FsFileSystem fs);
|
int fsdevMountDevice(const char *name, FsFileSystem fs);
|
||||||
|
|
||||||
|
/// Unmounts the specified device without closing its fs service.
|
||||||
|
int fsdevDeleteDevice(const char *name);
|
||||||
|
|
||||||
/// Unmounts the specified device.
|
/// Unmounts the specified device.
|
||||||
int fsdevUnmountDevice(const char *name);
|
int fsdevUnmountDevice(const char *name);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user