aboutsummaryrefslogtreecommitdiff
path: root/sys/linux/i386/arch/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/linux/i386/arch/types.h')
-rw-r--r--sys/linux/i386/arch/types.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/sys/linux/i386/arch/types.h b/sys/linux/i386/arch/types.h
new file mode 100644
index 0000000..be2421a
--- /dev/null
+++ b/sys/linux/i386/arch/types.h
@@ -0,0 +1,34 @@
+#pragma once
+
+#if 0
+/*
+ * copied from musl:
+ * copied from kernel definition, but with padding replaced
+ * by the corresponding correctly-sized userspace types.
+ */
+
+struct sys·Info
+{
+ uint64 devid;
+ int _devpad;
+ long _inodetrunc;
+ uint mode;
+ uregister_t nlinks;
+ uint uid;
+ uint gid;
+ uint64 spdevid;
+ int _spdevpad;
+
+ intptr len;
+ long blklen;
+ int64 nblk;
+ struct{
+ long sec;
+ long nano;
+ } _access32, _modify32, _change32;
+ uint64 inode;
+ sys·TimeNano access;
+ sys·TimeNano modify;
+ sys·TimeNano change;
+};
+#endif