summaryrefslogtreecommitdiff
path: root/src/stddef/size_t.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stddef/size_t.c')
-rw-r--r--src/stddef/size_t.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/stddef/size_t.c b/src/stddef/size_t.c
new file mode 100644
index 00000000..5435d006
--- /dev/null
+++ b/src/stddef/size_t.c
@@ -0,0 +1,24 @@
+#include <stddef.h>
+#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)
+*/