We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2910a53 + 2c2f071 commit cc186d7Copy full SHA for cc186d7
src/unix/solarish/illumos.rs
@@ -13,6 +13,12 @@ s! {
13
pub shm_ctime: ::time_t,
14
pub shm_pad4: [i64; 4],
15
}
16
+
17
+ pub struct fil_info {
18
+ pub fi_flags: ::c_int,
19
+ pub fi_pos: ::c_int,
20
+ pub fi_name: [::c_char; ::FILNAME_MAX as usize],
21
+ }
22
23
24
pub const AF_LOCAL: ::c_int = 1; // AF_UNIX
@@ -33,6 +39,15 @@ pub const F_OFD_SETLKW: ::c_int = 52;
33
39
pub const F_FLOCK: ::c_int = 55;
34
40
pub const F_FLOCKW: ::c_int = 56;
35
41
42
+pub const FIL_ATTACH: ::c_int = 0x1;
43
+pub const FIL_DETACH: ::c_int = 0x2;
44
+pub const FIL_LIST: ::c_int = 0x3;
45
+pub const FILNAME_MAX: ::c_int = 32;
46
+pub const FILF_PROG: ::c_int = 0x1;
47
+pub const FILF_AUTO: ::c_int = 0x2;
48
+pub const FILF_BYPASS: ::c_int = 0x4;
49
+pub const SOL_FILTER: ::c_int = 0xfffc;
50
36
51
pub const MR_HDR_AOUT: ::c_uint = 0x3;
37
52
38
53
extern "C" {
0 commit comments