Expand description
On certain platforms, ::libc
has no definitions for pervasive types such as size_t
.
We polyfill them here, and reëxport them for downstream users to use at leisure (e.g., so that they don’t have to do that themselves too!).
pub use :: libc ::
{
/// Note: you should probably be using [`crate::c_char`] instead.
c_char else u8,
/// Note: you should probably be using [`crate::c_int`] instead.
c_int else :: core :: ffi :: c_int, ///
size_t else usize, ///
uintptr_t else usize,
} ;
Type Definitions
A
type
alias to ::libc::c_char
.A
type
alias to ::libc::c_int
.A
type
alias to ::libc::size_t
.A
type
alias to ::libc::uintptr_t
.