aboutsummaryrefslogtreecommitdiff
path: root/ctr-std/src/os/raw/int.md
diff options
context:
space:
mode:
Diffstat (limited to 'ctr-std/src/os/raw/int.md')
-rw-r--r--ctr-std/src/os/raw/int.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/ctr-std/src/os/raw/int.md b/ctr-std/src/os/raw/int.md
new file mode 100644
index 0000000..a0d25fd
--- /dev/null
+++ b/ctr-std/src/os/raw/int.md
@@ -0,0 +1,7 @@
+Equivalent to C's `signed int` (`int`) type.
+
+This type will almost always be [`i32`], but may differ on some esoteric systems. The C standard technically only requires that this type be a signed integer that is at least the size of a [`short`]; some systems define it as an [`i16`], for example.
+
+[`short`]: type.c_short.html
+[`i32`]: ../../primitive.i32.html
+[`i16`]: ../../primitive.i16.html