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.
1 parent 9042478 commit fbb9650Copy full SHA for fbb9650
src/unix/mod.rs
@@ -92,6 +92,14 @@ pub const SIG_DFL: sighandler_t = 0 as sighandler_t;
92
pub const SIG_IGN: sighandler_t = 1 as sighandler_t;
93
pub const SIG_ERR: sighandler_t = !0 as sighandler_t;
94
95
+pub const DT_FIFO: ::c_int = 1;
96
+pub const DT_CHR: ::c_int = 2;
97
+pub const DT_DIR: ::c_int = 4;
98
+pub const DT_BLK: ::c_int = 6;
99
+pub const DT_REG: ::c_int = 8;
100
+pub const DT_LNK: ::c_int = 10;
101
+pub const DT_SOCK: ::c_int = 12;
102
+
103
cfg_if! {
104
if #[cfg(feature = "default")] {
105
// cargo build, don't pull in anything extra as the libstd dep
0 commit comments