File tree 3 files changed +13
-12
lines changed
3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -105,12 +105,13 @@ Tested:
105
105
* [ ` arm-unknown-linux-gnueabihf ` ] ( https://doc.rust-lang.org/libc/arm-unknown-linux-gnueabihf/libc )
106
106
* [ ` arm-linux-androideabi ` ] ( https://doc.rust-lang.org/libc/arm-linux-androideabi/libc )
107
107
(Android)
108
+ * [ ` x86_64-unknown-freebsd ` ] ( http://rust-lang-nursery.github.io/libc/x86_64-unknown-freebsd/libc )
109
+ * [ ` x86_64-unknown-openbsd ` ] ( http://rust-lang-nursery.github.io/libc/x86_64-unknown-openbsd/libc )
110
+ * [ ` x86_64-rumprun-netbsd ` ] ( http://rust-lang-nursery.github.io/libc/x86_64-unknown-netbsd/libc )
108
111
109
112
The following may be supported, but are not guaranteed to always work:
110
113
111
- * ` x86_64-unknown-freebsd `
112
114
* ` i686-unknown-freebsd `
113
- * ` x86_64-unknown-bitrig `
114
- * ` x86_64-unknown-dragonfly `
115
- * ` x86_64-unknown-openbsd `
116
- * ` x86_64-unknown-netbsd `
115
+ * [ ` x86_64-unknown-bitrig ` ] ( http://rust-lang-nursery.github.io/libc/x86_64-unknown-bitrig/libc )
116
+ * [ ` x86_64-unknown-dragonfly ` ] ( http://rust-lang-nursery.github.io/libc/x86_64-unknown-dragonfly/libc )
117
+ * [ ` x86_64-unknown-netbsd ` ] ( http://rust-lang-nursery.github.io/libc/x86_64-unknown-netbsd/libc )
Original file line number Diff line number Diff line change @@ -384,12 +384,12 @@ pub const EFD_SEMAPHORE: ::c_int = 0x1;
384
384
385
385
pub const NCCS : usize = 32 ;
386
386
387
- pub const CLONE_NEWUTS : :: c_uint = 0x04000000 ;
388
- pub const CLONE_NEWIPC : :: c_uint = 0x08000000 ;
389
- pub const CLONE_NEWUSER : :: c_uint = 0x10000000 ;
390
- pub const CLONE_NEWPID : :: c_uint = 0x20000000 ;
391
- pub const CLONE_NEWNET : :: c_uint = 0x40000000 ;
392
- pub const CLONE_IO : :: c_uint = 0x80000000 ;
387
+ pub const CLONE_NEWUTS : :: c_int = 0x04000000 ;
388
+ pub const CLONE_NEWIPC : :: c_int = 0x08000000 ;
389
+ pub const CLONE_NEWUSER : :: c_int = 0x10000000 ;
390
+ pub const CLONE_NEWPID : :: c_int = 0x20000000 ;
391
+ pub const CLONE_NEWNET : :: c_int = 0x40000000 ;
392
+ pub const CLONE_IO : :: c_int = 0x80000000 ;
393
393
394
394
extern {
395
395
pub fn shm_open ( name : * const c_char , oflag : :: c_int ,
Original file line number Diff line number Diff line change @@ -424,7 +424,7 @@ extern {
424
424
serv : * mut :: c_char ,
425
425
sevlen : :: socklen_t ,
426
426
flags : :: c_int ) -> :: c_int ;
427
- pub fn eventfd ( init : :: c_int , flags : :: c_int ) -> :: c_int ;
427
+ pub fn eventfd ( init : :: c_uint , flags : :: c_int ) -> :: c_int ;
428
428
pub fn ptrace ( request : :: c_uint , ...) -> :: c_long ;
429
429
}
430
430
You can’t perform that action at this time.
0 commit comments