File tree Expand file tree Collapse file tree 7 files changed +1
-11
lines changed
src/unix/linux_like/linux/musl Expand file tree Collapse file tree 7 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -312,8 +312,6 @@ pub const O_SYNC: ::c_int = 1052672;
312
312
pub const O_RSYNC : :: c_int = 1052672 ;
313
313
pub const O_DSYNC : :: c_int = 4096 ;
314
314
315
- pub const SOCK_NONBLOCK : :: c_int = 2048 ;
316
-
317
315
pub const MAP_ANON : :: c_int = 0x0020 ;
318
316
pub const MAP_GROWSDOWN : :: c_int = 0x0100 ;
319
317
pub const MAP_DENYWRITE : :: c_int = 0x0800 ;
Original file line number Diff line number Diff line change @@ -294,7 +294,6 @@ pub const SIG_SETMASK: ::c_int = 2; // FIXME check these
294
294
pub const SIG_BLOCK : :: c_int = 0x000000 ;
295
295
pub const SIG_UNBLOCK : :: c_int = 0x01 ;
296
296
pub const SOCK_DGRAM : :: c_int = 2 ;
297
- pub const SOCK_NONBLOCK : :: c_int = 2048 ;
298
297
pub const SOCK_SEQPACKET : :: c_int = 5 ;
299
298
pub const SOCK_STREAM : :: c_int = 1 ;
300
299
pub const SOL_CAIF : :: c_int = 278 ;
Original file line number Diff line number Diff line change @@ -251,8 +251,6 @@ pub const O_SYNC: ::c_int = 0o40020;
251
251
pub const O_RSYNC : :: c_int = 0o40020 ;
252
252
pub const O_DSYNC : :: c_int = 0o020 ;
253
253
254
- pub const SOCK_NONBLOCK : :: c_int = 0o200 ;
255
-
256
254
pub const MAP_ANON : :: c_int = 0x800 ;
257
255
pub const MAP_GROWSDOWN : :: c_int = 0x1000 ;
258
256
pub const MAP_DENYWRITE : :: c_int = 0x2000 ;
Original file line number Diff line number Diff line change @@ -244,8 +244,6 @@ pub const O_SYNC: ::c_int = 1052672;
244
244
pub const O_RSYNC : :: c_int = 1052672 ;
245
245
pub const O_DSYNC : :: c_int = 4096 ;
246
246
247
- pub const SOCK_NONBLOCK : :: c_int = 2048 ;
248
-
249
247
pub const MAP_ANON : :: c_int = 0x0020 ;
250
248
pub const MAP_GROWSDOWN : :: c_int = 0x0100 ;
251
249
pub const MAP_DENYWRITE : :: c_int = 0x0800 ;
Original file line number Diff line number Diff line change @@ -301,8 +301,6 @@ pub const O_SYNC: ::c_int = 1052672;
301
301
pub const O_RSYNC : :: c_int = 1052672 ;
302
302
pub const O_DSYNC : :: c_int = 4096 ;
303
303
304
- pub const SOCK_NONBLOCK : :: c_int = 2048 ;
305
-
306
304
pub const MAP_ANON : :: c_int = 0x0020 ;
307
305
pub const MAP_GROWSDOWN : :: c_int = 0x0100 ;
308
306
pub const MAP_DENYWRITE : :: c_int = 0x0800 ;
Original file line number Diff line number Diff line change @@ -134,8 +134,6 @@ pub const __SIZEOF_PTHREAD_RWLOCK_T: usize = 56;
134
134
pub const __SIZEOF_PTHREAD_MUTEX_T: usize = 40 ;
135
135
pub const __SIZEOF_PTHREAD_BARRIER_T: usize = 32 ;
136
136
137
- pub const SOCK_NONBLOCK : :: c_int = 2048 ;
138
-
139
137
pub const SOCK_SEQPACKET : :: c_int = 5 ;
140
138
141
139
extern "C" {
Original file line number Diff line number Diff line change @@ -542,6 +542,7 @@ pub const POSIX_MADV_DONTNEED: ::c_int = 4;
542
542
pub const MAP_ANONYMOUS : :: c_int = MAP_ANON ;
543
543
544
544
pub const SOCK_DCCP : :: c_int = 6 ;
545
+ pub const SOCK_NONBLOCK : :: c_int = O_NONBLOCK ;
545
546
pub const SOCK_PACKET : :: c_int = 10 ;
546
547
547
548
pub const SOMAXCONN : :: c_int = 128 ;
You can’t perform that action at this time.
0 commit comments