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
1 parent d429d0d commit 8d19819Copy full SHA for 8d19819
library/std/src/os/raw/mod.rs
@@ -171,3 +171,10 @@ pub type c_size_t = usize;
171
/// platforms where this is not the case.
172
#[unstable(feature = "c_size_t", issue = "88345")]
173
pub type c_ptrdiff_t = isize;
174
+
175
+/// Equivalent to C's `ssize_t` (on POSIX) or `SSIZE_T` (on Windows) type.
176
+///
177
+/// This type is currently always [`isize`], however in the future there may be
178
+/// platforms where this is not the case.
179
+#[unstable(feature = "c_size_t", issue = "88345")]
180
+pub type c_ssize_t = isize;
0 commit comments