File tree 4 files changed +9
-0
lines changed
4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,8 @@ pub const O_FSYNC: ::c_int = 0x4010;
205
205
pub const O_ASYNC : :: c_int = 0x1000 ;
206
206
pub const O_NDELAY : :: c_int = 0x80 ;
207
207
208
+ pub const SOCK_NONBLOCK : :: c_int = 128 ;
209
+
208
210
pub const EDEADLK : :: c_int = 45 ;
209
211
pub const ENAMETOOLONG : :: c_int = 78 ;
210
212
pub const ENOLCK : :: c_int = 46 ;
Original file line number Diff line number Diff line change @@ -190,6 +190,8 @@ pub const O_SYNC: ::c_int = 1052672;
190
190
pub const O_RSYNC : :: c_int = 1052672 ;
191
191
pub const O_DSYNC : :: c_int = 4096 ;
192
192
193
+ pub const SOCK_NONBLOCK : :: c_int = 2048 ;
194
+
193
195
pub const MAP_ANON : :: c_int = 0x0020 ;
194
196
pub const MAP_ANONYMOUS : :: c_int = 0x0020 ;
195
197
pub const MAP_GROWSDOWN : :: c_int = 0x0100 ;
Original file line number Diff line number Diff line change @@ -105,6 +105,8 @@ pub const O_RSYNC: ::c_int = 1052672;
105
105
pub const O_DSYNC : :: c_int = 4096 ;
106
106
pub const O_FSYNC : :: c_int = 0x101000 ;
107
107
108
+ pub const SOCK_NONBLOCK : :: c_int = O_NONBLOCK ;
109
+
108
110
pub const MAP_ANON : :: c_int = 0x0020 ;
109
111
pub const MAP_ANONYMOUS : :: c_int = 0x0020 ;
110
112
pub const MAP_GROWSDOWN : :: c_int = 0x0100 ;
Original file line number Diff line number Diff line change @@ -174,6 +174,9 @@ pub const O_WRONLY: ::c_int = 1;
174
174
pub const O_RDWR : :: c_int = 2 ;
175
175
pub const O_TRUNC : :: c_int = 512 ;
176
176
pub const O_CLOEXEC : :: c_int = 0x80000 ;
177
+
178
+ pub const SOCK_CLOEXEC : :: c_int = O_CLOEXEC ;
179
+
177
180
pub const S_IFIFO : :: mode_t = 4096 ;
178
181
pub const S_IFCHR : :: mode_t = 8192 ;
179
182
pub const S_IFBLK : :: mode_t = 24576 ;
You can’t perform that action at this time.
0 commit comments