We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
std::os::raw::c_ssize_t
std::os::raw::c_ptrdiff_t
1 parent 6d42707 commit d429d0dCopy full SHA for d429d0d
library/std/src/os/raw/mod.rs
@@ -165,9 +165,9 @@ pub use core::ffi::c_void;
165
#[unstable(feature = "c_size_t", issue = "88345")]
166
pub type c_size_t = usize;
167
168
-/// Equivalent to C's `ssize_t` type, from `stddef.h` (or `cstddef` for C++).
+/// Equivalent to C's `ptrdiff_t` type, from `stddef.h` (or `cstddef` for C++).
169
///
170
/// This type is currently always [`isize`], however in the future there may be
171
/// platforms where this is not the case.
172
173
-pub type c_ssize_t = isize;
+pub type c_ptrdiff_t = isize;
0 commit comments