File tree Expand file tree Collapse file tree 11 files changed +157
-55
lines changed
src/unix/linux_like/linux/gnu Expand file tree Collapse file tree 11 files changed +157
-55
lines changed Original file line number Diff line number Diff line change 9
9
pub sa_restorer: :: Option <extern fn ( ) >,
10
10
}
11
11
12
+ pub struct statfs {
13
+ pub f_type: __fsword_t,
14
+ pub f_bsize: __fsword_t,
15
+ pub f_blocks: :: fsblkcnt_t,
16
+ pub f_bfree: :: fsblkcnt_t,
17
+ pub f_bavail: :: fsblkcnt_t,
18
+
19
+ pub f_files: :: fsfilcnt_t,
20
+ pub f_ffree: :: fsfilcnt_t,
21
+ pub f_fsid: :: fsid_t,
22
+
23
+ pub f_namelen: __fsword_t,
24
+ pub f_frsize: __fsword_t,
25
+ f_spare: [ __fsword_t; 5 ] ,
26
+ }
27
+
12
28
pub struct flock {
13
29
pub l_type: :: c_short,
14
30
pub l_whence: :: c_short,
Original file line number Diff line number Diff line change 25
25
st_pad5: [ :: c_long; 14 ] ,
26
26
}
27
27
28
+ pub struct statfs {
29
+ pub f_type: :: c_long,
30
+ pub f_bsize: :: c_long,
31
+ pub f_frsize: :: c_long,
32
+ pub f_blocks: :: fsblkcnt_t,
33
+ pub f_bfree: :: fsblkcnt_t,
34
+ pub f_files: :: fsblkcnt_t,
35
+ pub f_ffree: :: fsblkcnt_t,
36
+ pub f_bavail: :: fsblkcnt_t,
37
+ pub f_fsid: :: fsid_t,
38
+
39
+ pub f_namelen: :: c_long,
40
+ f_spare: [ :: c_long; 6 ] ,
41
+ }
42
+
28
43
pub struct statfs64 {
29
44
pub f_type: :: c_long,
30
45
pub f_bsize: :: c_long,
Original file line number Diff line number Diff line change 9
9
pub sa_restorer: :: Option <extern fn ( ) >,
10
10
}
11
11
12
+ pub struct statfs {
13
+ pub f_type: __fsword_t,
14
+ pub f_bsize: __fsword_t,
15
+ pub f_blocks: :: fsblkcnt_t,
16
+ pub f_bfree: :: fsblkcnt_t,
17
+ pub f_bavail: :: fsblkcnt_t,
18
+
19
+ pub f_files: :: fsfilcnt_t,
20
+ pub f_ffree: :: fsfilcnt_t,
21
+ pub f_fsid: :: fsid_t,
22
+
23
+ pub f_namelen: __fsword_t,
24
+ pub f_frsize: __fsword_t,
25
+ f_spare: [ __fsword_t; 5 ] ,
26
+ }
27
+
12
28
pub struct flock {
13
29
pub l_type: :: c_short,
14
30
pub l_whence: :: c_short,
Original file line number Diff line number Diff line change 10
10
pub sa_restorer: :: Option <extern fn ( ) >,
11
11
}
12
12
13
+ pub struct statfs {
14
+ pub f_type: __fsword_t,
15
+ pub f_bsize: __fsword_t,
16
+ pub f_blocks: :: fsblkcnt_t,
17
+ pub f_bfree: :: fsblkcnt_t,
18
+ pub f_bavail: :: fsblkcnt_t,
19
+
20
+ pub f_files: :: fsfilcnt_t,
21
+ pub f_ffree: :: fsfilcnt_t,
22
+ pub f_fsid: :: fsid_t,
23
+
24
+ pub f_namelen: __fsword_t,
25
+ pub f_frsize: __fsword_t,
26
+ f_spare: [ __fsword_t; 5 ] ,
27
+ }
28
+
13
29
pub struct flock {
14
30
pub l_type: :: c_short,
15
31
pub l_whence: :: c_short,
Original file line number Diff line number Diff line change 21
21
pub sa_restorer: :: Option <extern fn ( ) >,
22
22
}
23
23
24
+ pub struct statfs {
25
+ pub f_type: __fsword_t,
26
+ pub f_bsize: __fsword_t,
27
+ pub f_blocks: :: fsblkcnt_t,
28
+ pub f_bfree: :: fsblkcnt_t,
29
+ pub f_bavail: :: fsblkcnt_t,
30
+
31
+ pub f_files: :: fsfilcnt_t,
32
+ pub f_ffree: :: fsfilcnt_t,
33
+ pub f_fsid: :: fsid_t,
34
+
35
+ pub f_namelen: __fsword_t,
36
+ pub f_frsize: __fsword_t,
37
+ f_spare: [ __fsword_t; 5 ] ,
38
+ }
39
+
24
40
pub struct flock {
25
41
pub l_type: :: c_short,
26
42
pub l_whence: :: c_short,
Original file line number Diff line number Diff line change 34
34
st_pad5: [ :: c_long; 7 ] ,
35
35
}
36
36
37
+ pub struct statfs {
38
+ pub f_type: :: c_long,
39
+ pub f_bsize: :: c_long,
40
+ pub f_frsize: :: c_long,
41
+ pub f_blocks: :: fsblkcnt_t,
42
+ pub f_bfree: :: fsblkcnt_t,
43
+ pub f_files: :: fsblkcnt_t,
44
+ pub f_ffree: :: fsblkcnt_t,
45
+ pub f_bavail: :: fsblkcnt_t,
46
+ pub f_fsid: :: fsid_t,
47
+
48
+ pub f_namelen: :: c_long,
49
+ f_spare: [ :: c_long; 6 ] ,
50
+ }
51
+
37
52
pub struct flock {
38
53
pub l_type: :: c_short,
39
54
pub l_whence: :: c_short,
Original file line number Diff line number Diff line change 21
21
pub sa_restorer: :: Option <extern fn ( ) >,
22
22
}
23
23
24
+ pub struct statfs {
25
+ pub f_type: __fsword_t,
26
+ pub f_bsize: __fsword_t,
27
+ pub f_blocks: :: fsblkcnt_t,
28
+ pub f_bfree: :: fsblkcnt_t,
29
+ pub f_bavail: :: fsblkcnt_t,
30
+
31
+ pub f_files: :: fsfilcnt_t,
32
+ pub f_ffree: :: fsfilcnt_t,
33
+ pub f_fsid: :: fsid_t,
34
+
35
+ pub f_namelen: __fsword_t,
36
+ pub f_frsize: __fsword_t,
37
+ f_spare: [ __fsword_t; 5 ] ,
38
+ }
39
+
24
40
pub struct flock {
25
41
pub l_type: :: c_short,
26
42
pub l_whence: :: c_short,
Original file line number Diff line number Diff line change 21
21
pub sa_mask: :: sigset_t,
22
22
}
23
23
24
+ pub struct statfs {
25
+ pub f_type: :: c_uint,
26
+ pub f_bsize: :: c_uint,
27
+ pub f_blocks: :: fsblkcnt_t,
28
+ pub f_bfree: :: fsblkcnt_t,
29
+ pub f_bavail: :: fsblkcnt_t,
30
+ pub f_files: :: fsfilcnt_t,
31
+ pub f_ffree: :: fsfilcnt_t,
32
+ pub f_fsid: :: fsid_t,
33
+ pub f_namelen: :: c_uint,
34
+ pub f_frsize: :: c_uint,
35
+ pub f_flags: :: c_uint,
36
+ f_spare: [ :: c_uint; 4 ] ,
37
+ }
38
+
24
39
pub struct flock {
25
40
pub l_type: :: c_short,
26
41
pub l_whence: :: c_short,
Original file line number Diff line number Diff line change 21
21
pub sa_restorer: :: Option <extern fn ( ) >,
22
22
}
23
23
24
+ pub struct statfs {
25
+ pub f_type: __fsword_t,
26
+ pub f_bsize: __fsword_t,
27
+ pub f_blocks: :: fsblkcnt_t,
28
+ pub f_bfree: :: fsblkcnt_t,
29
+ pub f_bavail: :: fsblkcnt_t,
30
+
31
+ pub f_files: :: fsfilcnt_t,
32
+ pub f_ffree: :: fsfilcnt_t,
33
+ pub f_fsid: :: fsid_t,
34
+
35
+ pub f_namelen: __fsword_t,
36
+ pub f_frsize: __fsword_t,
37
+ f_spare: [ __fsword_t; 5 ] ,
38
+ }
39
+
24
40
pub struct siginfo_t {
25
41
pub si_signo: :: c_int,
26
42
pub si_errno: :: c_int,
Original file line number Diff line number Diff line change 18
18
pub sa_restorer: :: Option <extern fn ( ) >,
19
19
}
20
20
21
+ pub struct statfs {
22
+ pub f_type: __fsword_t,
23
+ pub f_bsize: __fsword_t,
24
+ pub f_blocks: :: fsblkcnt_t,
25
+ pub f_bfree: :: fsblkcnt_t,
26
+ pub f_bavail: :: fsblkcnt_t,
27
+
28
+ pub f_files: :: fsfilcnt_t,
29
+ pub f_ffree: :: fsfilcnt_t,
30
+ pub f_fsid: :: fsid_t,
31
+
32
+ pub f_namelen: __fsword_t,
33
+ pub f_frsize: __fsword_t,
34
+ f_spare: [ __fsword_t; 5 ] ,
35
+ }
36
+
21
37
pub struct flock {
22
38
pub l_type: :: c_short,
23
39
pub l_whence: :: c_short,
You can’t perform that action at this time.
0 commit comments