about summary refs log tree commit diff
path: root/library/std/src/os/raw/uint.md
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/os/raw/uint.md')
-rw-r--r--library/std/src/os/raw/uint.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/library/std/src/os/raw/uint.md b/library/std/src/os/raw/uint.md
new file mode 100644
index 00000000000..6f7013a8ac1
--- /dev/null
+++ b/library/std/src/os/raw/uint.md
@@ -0,0 +1,7 @@
+Equivalent to C's `unsigned int` type.
+
+This type will almost always be [`u32`], but may differ on some esoteric systems. The C standard technically only requires that this type be an unsigned integer with the same size as an [`int`]; some systems define it as a [`u16`], for example.
+
+[`int`]: type.c_int.html
+[`u32`]: ../../primitive.u32.html
+[`u16`]: ../../primitive.u16.html