summaryrefslogtreecommitdiff
path: root/include/user/io/devctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/user/io/devctl.h')
-rw-r--r--include/user/io/devctl.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/user/io/devctl.h b/include/user/io/devctl.h
index 0f6d176..ec1d726 100644
--- a/include/user/io/devctl.h
+++ b/include/user/io/devctl.h
@@ -7,12 +7,20 @@
extern "C" {
#endif
+typedef struct SceIoDevInfo {
+ SceOff max_size;
+ SceOff free_size;
+ SceSize cluster_size;
+ void *unk;
+} SceIoDevInfo;
+
/**
* Send a devctl command to a device.
*
* @par Example: Sending a simple command to a device
* @code
- * sceIoDevctl("ux0:", 0x3001, NULL, 0, outdata, 0x18);
+ * SceIoDevInfo info;
+ * sceIoDevctl("ux0:", 0x3001, NULL, 0, &info, sizeof(SceIoDevInfo));
* @endcode
*
* @param dev - String for the device to send the devctl to (e.g. "ux0:")