@@ -11,10 +11,6 @@ pub type __u64 = ::c_ulonglong;
11
11
pub type __s64 = :: c_longlong ;
12
12
13
13
s ! {
14
- pub struct pthread_attr_t {
15
- __size: [ :: c_ulong; 7 ] ,
16
- }
17
-
18
14
pub struct stat {
19
15
pub st_dev: :: dev_t,
20
16
pub st_ino: :: ino_t,
59
55
__unused: [ :: c_int; 2 ] ,
60
56
}
61
57
62
- pub struct statfs {
63
- pub f_type: :: c_long,
64
- pub f_bsize: :: c_long,
65
- pub f_blocks: :: fsblkcnt_t,
66
- pub f_bfree: :: fsblkcnt_t,
67
- pub f_bavail: :: fsblkcnt_t,
68
- pub f_files: :: fsfilcnt_t,
69
- pub f_ffree: :: fsfilcnt_t,
70
- pub f_fsid: :: fsid_t,
71
- pub f_namelen: :: c_long,
72
- pub f_frsize: :: c_long,
73
- pub f_flags: :: c_long,
74
- pub f_spare: [ :: c_long; 4 ] ,
75
- }
76
-
77
58
pub struct statfs64 {
78
59
pub f_type: :: c_long,
79
60
pub f_bsize: :: c_long,
96
77
pub cuid: :: uid_t,
97
78
pub cgid: :: gid_t,
98
79
pub mode: :: c_uint,
99
- pub __seq: :: c_ushort ,
80
+ pub __seq: :: c_int ,
100
81
__pad2: :: c_ushort,
101
82
__unused1: :: c_ulong,
102
83
__unused2: :: c_ulong,
@@ -126,10 +107,10 @@ s! {
126
107
127
108
#[ repr( align( 16 ) ) ]
128
109
pub struct mcontext_t {
129
- pub __pc: :: c_ulonglong ,
130
- pub __gregs: [ :: c_ulonglong ; 32 ] ,
110
+ pub __pc: :: c_ulong ,
111
+ pub __gregs: [ :: c_ulong ; 32 ] ,
131
112
pub __flags: :: c_uint,
132
- pub __extcontext: [ :: c_ulonglong ; 0 ] ,
113
+ pub __extcontext: [ :: c_ulong ; 0 ] ,
133
114
}
134
115
135
116
#[ repr( align( 8 ) ) ]
@@ -467,7 +448,7 @@ pub const SYS_futex_requeue: ::c_long = 456;
467
448
pub const O_APPEND : :: c_int = 1024 ;
468
449
pub const O_DIRECT : :: c_int = 0x4000 ;
469
450
pub const O_DIRECTORY : :: c_int = 0x10000 ;
470
- pub const O_LARGEFILE : :: c_int = 0 ;
451
+ pub const O_LARGEFILE : :: c_int = 0o0100000 ;
471
452
pub const O_NOFOLLOW : :: c_int = 0x20000 ;
472
453
pub const O_CREAT : :: c_int = 64 ;
473
454
pub const O_EXCL : :: c_int = 128 ;
@@ -476,7 +457,7 @@ pub const O_NONBLOCK: ::c_int = 2048;
476
457
pub const O_SYNC : :: c_int = 1052672 ;
477
458
pub const O_RSYNC : :: c_int = 1052672 ;
478
459
pub const O_DSYNC : :: c_int = 4096 ;
479
- pub const O_ASYNC : :: c_int = 4096 ;
460
+ pub const O_ASYNC : :: c_int = 0o20000 ;
480
461
481
462
pub const SIGSTKSZ : :: size_t = 16384 ;
482
463
pub const MINSIGSTKSZ : :: size_t = 4096 ;
@@ -660,6 +641,7 @@ pub const ECHOPRT: ::tcflag_t = 0x00000400;
660
641
pub const ECHOCTL : :: tcflag_t = 0x00000200 ;
661
642
pub const ISIG : :: tcflag_t = 0x00000001 ;
662
643
pub const ICANON : :: tcflag_t = 0x00000002 ;
644
+ pub const XCASE : :: tcflag_t = 0x00000004 ;
663
645
pub const PENDIN : :: tcflag_t = 0x00004000 ;
664
646
pub const NOFLSH : :: tcflag_t = 0x00000080 ;
665
647
pub const CIBAUD : :: tcflag_t = 0o02003600000 ;
0 commit comments