- Sep 13, 2020
-
-
Daniil Bondarev authored
The pr #1870 introduced safe_f! macro, which made some functions like WIFEXITED and WEXITSTATUS const and safe on linux_like platform only, which causes inconsistency when trying to use those functions in crates compiled across multiple platforms, as using unsafe on those functions will generate unused_unsafe warning on linux platforms and lack of unsafe block will fail compilation on non-linux platforms. To avoid the inconsistency, this commit applies the same macro for all the same functions on other platforms too.
-
- Aug 10, 2020
-
-
Josh Triplett authored
On Linux, siginfo_t cannot expose these fields directly due to https://github.com/rust-lang/libc/issues/716 , so expose them as functions, just like si_addr and si_value. In order to get alignment correct on both 32-bit and 64-bit architectures, define an sifields union that includes a pointer field, to ensure that it has the same alignment as a pointer.
-
- Feb 29, 2020
-
-
Yuki Okushi authored
-
- Feb 24, 2020
-
-
BaoshanPang authored
-
- Feb 21, 2020
-
-
Lzu Tao authored
-
- Feb 12, 2020
-
-
Vickenty Fesunov authored
This triggers a warning on a recent nightly, which in turn breaks CI due to `#![deny(warnings)]` in libc-test/build.rs
-
- Oct 11, 2019
-
-
BaoshanPang authored
-
- Oct 09, 2019
-
-
BaoshanPang authored
adding PATH_MAX use type c_int for _PARM_NAME_MAX and _PARM_PATH_MAX
-
- Sep 26, 2019
-
-
Baoshan Pang authored
-
Baoshan Pang authored
-
- Sep 24, 2019
-
-
Baoshan Pang authored
-
Baoshan Pang authored
-
- Sep 23, 2019
-
-
Baoshan Pang authored
-
Baoshan Pang authored
-
Baoshan Pang authored
-
- Sep 20, 2019
-
-
Salim Nasser authored
-
Artyom Pavlov authored
-
- Sep 17, 2019
-
-
Baoshan Pang authored
defining uintptr_t = usize and intptr_t/ptrdiff_t = isize, and using uintptr_t to define size_t, and intptr_t to define ssize_t.
-
- Sep 16, 2019
-
-
Baoshan Pang authored
2. implement Debug for big size array 3. remove code related to epoll 4. use 'pub enum' for _Vx_semaphore
-
Magnus Ulimoen authored
-
- Sep 14, 2019
-
-
Baoshan Pang authored
-
- Sep 13, 2019
-
-
Baoshan Pang authored
-
Salim Nasser authored
-
Salim Nasser authored
-
Salim Nasser authored
-
Salim Nasser authored
-
- Sep 12, 2019
-
-
gnzlbg authored
-
- Aug 16, 2019
-
-
Baoshan Pang authored
-
- Aug 15, 2019
-
-
Baoshan Pang authored
2. change armv7-wrs-vxworks to armv7-wrs-vxworks-eabihf 3. code cleanup
-
- Aug 09, 2019
-
-
Baoshan Pang authored
Define the C interface to vxWorks for x86, x86_64, ARM, ARM 64-bit, PowerPC, PowerPC SPE and PowerPC 64-bit.
-
Taehyun Lee authored
-