We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1e630f commit 6a0be55Copy full SHA for 6a0be55
changelog/2692.fixed.md
@@ -0,0 +1 @@
1
+Define errno EWOULDBLOCK as an alias of EAGAIN to match the AIX libc definition.
src/errno.rs
@@ -3247,6 +3247,10 @@ mod consts {
3247
EOPNOTSUPP = libc::EOPNOTSUPP,
3248
}
3249
3250
+ impl Errno {
3251
+ pub const EWOULDBLOCK: Errno = Errno::EAGAIN;
3252
+ }
3253
+
3254
#[deprecated(
3255
since = "0.28.0",
3256
note = "please use `Errno::from_raw()` instead"
0 commit comments