about summary refs log tree commit diff
path: root/library/std/src/os/raw/int.md
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/os/raw/int.md')
-rw-r--r--library/std/src/os/raw/int.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/library/std/src/os/raw/int.md b/library/std/src/os/raw/int.md
new file mode 100644
index 00000000000..a0d25fd21d8
--- /dev/null
+++ b/library/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