We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9042478 + f811901 commit 6736e10Copy full SHA for 6736e10
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: u8 = 1;
96
+pub const DT_CHR: u8 = 2;
97
+pub const DT_DIR: u8 = 4;
98
+pub const DT_BLK: u8 = 6;
99
+pub const DT_REG: u8 = 8;
100
+pub const DT_LNK: u8 = 10;
101
+pub const DT_SOCK: u8 = 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