summary refs log tree commit diff
path: root/src/libstd/os/raw/ulong.md
blob: c350395080e80f429aa1ec71b42235ef9be87b64 (plain)
1
2
3
4
5
6
7
Equivalent to C's `unsigned long` type.

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`.

[`long`]: type.c_long.html
[`u32`]: ../../primitive.u32.html
[`u64`]: ../../primitive.u64.html