10

c_ushort

 1 year ago
source link: https://doc.rust-lang.org/stable/std/ffi/type.c_ushort.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Type Definition std::ffi::c_ushort

1.64.0 · source · [−]
pub type c_ushort = u16;

Equivalent to C’s unsigned short type.

This type will almost always be u16, 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 a short.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK