summaryrefslogtreecommitdiff
path: root/src/stddef/size_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stddef/size_t.h')
-rw-r--r--src/stddef/size_t.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/stddef/size_t.h b/src/stddef/size_t.h
new file mode 100644
index 00000000..6ec3e04a
--- /dev/null
+++ b/src/stddef/size_t.h
@@ -0,0 +1,21 @@
+#ifdef __LLP64__
+# if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199909L
+typedef unsigned __int64 size_t;
+# else
+typedef unsigned long long int size_t;
+# endif
+#else
+typedef unsigned long int size_t;
+#endif
+
+/** memory size type **/
+
+/***
+is an unsigned integer type that is the result of using the
+OPERATOR(sizeof) operator.
+***/
+
+/*
+TYPEDEF(unsigned integer)
+STDC(1)
+*/