File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1461,8 +1461,6 @@ pub const O_RDONLY: ::c_int = 0;
1461
1461
pub const O_WRONLY : :: c_int = 1 ;
1462
1462
pub const O_RDWR : :: c_int = 2 ;
1463
1463
1464
- pub const SOCK_CLOEXEC : :: c_int = O_CLOEXEC ;
1465
-
1466
1464
pub const S_IFIFO : :: mode_t = 4096 ;
1467
1465
pub const S_IFCHR : :: mode_t = 8192 ;
1468
1466
pub const S_IFBLK : :: mode_t = 24576 ;
@@ -2908,7 +2906,8 @@ pub const O_SYNC: ::c_int = 0x00000040 | O_DSYNC;
2908
2906
pub const O_RSYNC : :: c_int = O_SYNC ;
2909
2907
pub const O_DSYNC : :: c_int = 0x00000020 ;
2910
2908
2911
- pub const SOCK_NONBLOCK : :: c_int = 2048 ;
2909
+ pub const SOCK_CLOEXEC : :: c_int = 0o2000000 ;
2910
+ pub const SOCK_NONBLOCK : :: c_int = 0o4000 ;
2912
2911
2913
2912
pub const MAP_ANON : :: c_int = 0x0020 ;
2914
2913
pub const MAP_GROWSDOWN : :: c_int = 0x0100 ;
You can’t perform that action at this time.
0 commit comments