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