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 73f264c commit 1266c24Copy full SHA for 1266c24
1 file changed
src/unix/newlib/horizon/mod.rs
@@ -134,12 +134,14 @@ pub const WNOHANG: c_int = 1;
134
135
pub const POLLIN: c_int = 0x0001;
136
pub const POLLPRI: c_int = 0x0002;
137
-pub const POLLOUT: c_int = 0x0004;
+pub const POLLOUT: c_int = 0x0008;
138
pub const POLLRDNORM: c_int = 0x0040;
139
pub const POLLWRNORM: c_int = POLLOUT;
140
pub const POLLRDBAND: c_int = 0x0080;
141
pub const POLLWRBAND: c_int = 0x0100;
142
+/// POLLERR behavior on 3DS+HorizonOS is unclear, and it may be unsupported.
143
pub const POLLERR: c_int = 0x0008;
144
+/// POLLHUP behavior on 3DS+HorizonOS is unclear, and it may be unsupported.
145
pub const POLLHUP: c_int = 0x0010;
146
pub const POLLNVAL: c_int = 0x0020;
147
0 commit comments