Skip to content

Commit 714ab82

Browse files
committed
solarish: Add missing constants
1 parent 0a60b22 commit 714ab82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/unix/solarish/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,8 @@ pub const EOF: ::c_int = -1;
950950
pub const SEEK_SET: ::c_int = 0;
951951
pub const SEEK_CUR: ::c_int = 1;
952952
pub const SEEK_END: ::c_int = 2;
953+
pub const SEEK_DATA: ::c_int = 3;
954+
pub const SEEK_HOLE: ::c_int = 4;
953955
pub const _IOFBF: ::c_int = 0;
954956
pub const _IONBF: ::c_int = 4;
955957
pub const _IOLBF: ::c_int = 64;
@@ -1835,6 +1837,7 @@ pub const EPOLLHUP: ::c_int = 0x10;
18351837
pub const EPOLLET: ::c_int = 0x80000000;
18361838
pub const EPOLLRDHUP: ::c_int = 0x2000;
18371839
pub const EPOLLONESHOT: ::c_int = 0x40000000;
1840+
pub const EPOLLWAKEUP: ::c_int = 0x20000000;
18381841
pub const EPOLL_CLOEXEC: ::c_int = 0x80000;
18391842
pub const EPOLL_CTL_ADD: ::c_int = 1;
18401843
pub const EPOLL_CTL_MOD: ::c_int = 3;

0 commit comments

Comments
 (0)