refactor: add a async read/write variant to device ops, with allow async io to be...
[lunaix-os.git] / lunaix-os / includes / usr / lunaix / types.h
index 4c197f5ab12fdc37f8b85bc1df37245dbf034c22..a1b69a0b2e6a871c53b1fd2b977e9400c7fad698 100644 (file)
@@ -24,8 +24,17 @@ typedef signed long ssize_t;
 
 typedef int pid_t;
 
-typedef unsigned long size_t;
+typedef __SIZE_TYPE__ size_t;
 
-typedef unsigned long off_t;
+typedef __SIZE_TYPE__ off_t;
+
+typedef unsigned int ino_t;
+
+typedef struct dev_t
+{
+    unsigned int meta;
+    unsigned int unique;
+    unsigned int index;
+} dev_t;
 
 #endif /* __LUNAIX_TYPES_H */