@@ -22,6 +22,8 @@ Enum to select the storage device to use.
2222DEV_SDCARD | SD Card.
2323DEV_USB | USB Thumb Drive.
2424
25+ <hr />
26+
2527#### ` enum ` [ ` FileSystems ` ] ( #_arduino___p_o_s_i_x_storage_8h_1ac01996562b852a6b36ad87908429ad35 ) <a id =" _arduino___p_o_s_i_x_storage_8h_1ac01996562b852a6b36ad87908429ad35 " class =" anchor " ></a >
2628
2729Enum to select the file system to use.
@@ -31,6 +33,8 @@ Enum to select the file system to use.
3133FS_FAT | FAT file system.
3234FS_LITTLEFS | LittleFS file system.
3335
36+ <hr />
37+
3438#### ` enum ` [ ` MountFlags ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a069889b849809b552adf0513c6db2b85 ) <a id =" _arduino___p_o_s_i_x_storage_8h_1a069889b849809b552adf0513c6db2b85 " class =" anchor " ></a >
3539
3640Enum to select the mount mode to use. The default mode is Read/Write.
@@ -40,6 +44,8 @@ Enum to select the mount mode to use. The default mode is Read/Write.
4044MNT_DEFAULT | Default mount mode (Read/Write)
4145MNT_RDONLY | Read only mode.
4246
47+ <hr />
48+
4349#### ` public int ` [ ` mount ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a22178afb74ae05ab1dcf8c50eb4a9d1f ) ` (const enum ` [ ` StorageDevices ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a97a26676f4f644e3db23bb63b9227546 ) ` deviceName, const enum ` [ ` FileSystems ` ] ( #_arduino___p_o_s_i_x_storage_8h_1ac01996562b852a6b36ad87908429ad35 ) ` fileSystem, const enum ` [ ` MountFlags ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a069889b849809b552adf0513c6db2b85 ) ` mountFlags) ` <a id =" _arduino___p_o_s_i_x_storage_8h_1a22178afb74ae05ab1dcf8c50eb4a9d1f " class =" anchor " ></a >
4450
4551Attach a file system to a device.
@@ -53,6 +59,7 @@ Attach a file system to a device.
5359
5460#### Returns
5561On success: 0. On failure: -1 with an error code in the errno variable.
62+ <hr />
5663
5764#### ` public int ` [ ` umount ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a57b5f0c881dedaf55fe1b9c5fa59e1f8 ) ` (const enum ` [ ` StorageDevices ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a97a26676f4f644e3db23bb63b9227546 ) ` deviceName) ` <a id =" _arduino___p_o_s_i_x_storage_8h_1a57b5f0c881dedaf55fe1b9c5fa59e1f8 " class =" anchor " ></a >
5865
@@ -63,6 +70,7 @@ Remove the attached file system from a device.
6370
6471#### Returns
6572On success: 0. On failure: -1 with an error code in the errno variable.
73+ <hr />
6674
6775#### ` public int ` [ ` register_hotplug_callback ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a1a914f0970d317b6a74bef4368cbcae8 ) ` (const enum ` [ ` StorageDevices ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a97a26676f4f644e3db23bb63b9227546 ) ` deviceName, void(*)() callbackFunction) ` <a id =" _arduino___p_o_s_i_x_storage_8h_1a1a914f0970d317b6a74bef4368cbcae8 " class =" anchor " ></a >
6876
@@ -75,6 +83,7 @@ Register a hotplug callback function. Currently only supported for DEV_USB on Po
7583
7684#### Returns
7785On success: 0. On failure: -1 with an error code in the errno variable.
86+ <hr />
7887
7988#### ` public int ` [ ` deregister_hotplug_callback ` ] ( #_arduino___p_o_s_i_x_storage_8h_1ae80d0ace82aad5ef4a130953290efbd7 ) ` (const enum ` [ ` StorageDevices ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a97a26676f4f644e3db23bb63b9227546 ) ` deviceName) ` <a id =" _arduino___p_o_s_i_x_storage_8h_1ae80d0ace82aad5ef4a130953290efbd7 " class =" anchor " ></a >
8089
@@ -85,6 +94,7 @@ Deregister a previously registered hotplug callback function. Not currently supp
8594
8695#### Returns
8796On success: 0. On failure: -1 with an error code in the errno variable.
97+ <hr />
8898
8999#### ` public int ` [ ` mkfs ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a834ae6d0e65c5b47f9d8932f7ad0c499 ) ` (const enum ` [ ` StorageDevices ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a97a26676f4f644e3db23bb63b9227546 ) ` deviceName, const enum ` [ ` FileSystems ` ] ( #_arduino___p_o_s_i_x_storage_8h_1ac01996562b852a6b36ad87908429ad35 ) ` fileSystem) ` <a id =" _arduino___p_o_s_i_x_storage_8h_1a834ae6d0e65c5b47f9d8932f7ad0c499 " class =" anchor " ></a >
90100
@@ -97,3 +107,4 @@ Format a device (make file system).
97107
98108#### Returns
99109On success: 0. On failure: -1 with an error code in the errno variable.
110+ <hr />
0 commit comments