We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db03632 + b24d958 commit 9cf7c6aCopy full SHA for 9cf7c6a
src/fuchsia/mod.rs
@@ -1461,8 +1461,6 @@ pub const O_RDONLY: ::c_int = 0;
1461
pub const O_WRONLY: ::c_int = 1;
1462
pub const O_RDWR: ::c_int = 2;
1463
1464
-pub const SOCK_CLOEXEC: ::c_int = O_CLOEXEC;
1465
-
1466
pub const S_IFIFO: ::mode_t = 4096;
1467
pub const S_IFCHR: ::mode_t = 8192;
1468
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
2911
-pub const SOCK_NONBLOCK: ::c_int = 2048;
+pub const SOCK_CLOEXEC: ::c_int = 0o2000000;
+pub const SOCK_NONBLOCK: ::c_int = 0o4000;
2912
2913
pub const MAP_ANON: ::c_int = 0x0020;
2914
pub const MAP_GROWSDOWN: ::c_int = 0x0100;
0 commit comments