]> git.lizzy.rs Git - rust.git/blob - src/libstd/os/raw/ulong.md
Rollup merge of #47846 - roblabla:bugfix-ocaml, r=kennytm
[rust.git] / src / libstd / os / raw / ulong.md
1 Equivalent to C's `unsigned long` type.
2
3 This type will always be [`u32`] or [`u64`]. Most notably, many Linux-based systems assume an `u64`, but Windows assumes `u32`. The C standard technically only requires that this type be an unsigned integer with the size of a [`long`], although in practice, no system would have a `ulong` that is neither a `u32` nor `u64`.
4
5 [`long`]: type.c_long.html
6 [`u32`]: ../../primitive.u32.html
7 [`u64`]: ../../primitive.u64.html