Skip to content

Commit 1266c24

Browse files
koretgross35
authored andcommitted
horizonos: POLLOUT definition fix
1 parent 73f264c commit 1266c24

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/unix/newlib/horizon/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,14 @@ pub const WNOHANG: c_int = 1;
134134

135135
pub const POLLIN: c_int = 0x0001;
136136
pub const POLLPRI: c_int = 0x0002;
137-
pub const POLLOUT: c_int = 0x0004;
137+
pub const POLLOUT: c_int = 0x0008;
138138
pub const POLLRDNORM: c_int = 0x0040;
139139
pub const POLLWRNORM: c_int = POLLOUT;
140140
pub const POLLRDBAND: c_int = 0x0080;
141141
pub const POLLWRBAND: c_int = 0x0100;
142+
/// POLLERR behavior on 3DS+HorizonOS is unclear, and it may be unsupported.
142143
pub const POLLERR: c_int = 0x0008;
144+
/// POLLHUP behavior on 3DS+HorizonOS is unclear, and it may be unsupported.
143145
pub const POLLHUP: c_int = 0x0010;
144146
pub const POLLNVAL: c_int = 0x0020;
145147

0 commit comments

Comments
 (0)