| /rust-libc-0.2.174/libc-test/ |
| H A D | build.rs | 496 s => s.to_string(), in test_apple() 678 s => s.to_string(), in test_openbsd() 827 s => s.to_string(), in test_cygwin() 1465 s => s.to_string(), in test_netbsd() 1688 s => s.to_string(), in test_dragonflybsd() 1853 s => s.to_string(), in test_wasi() 2087 s => s.to_string(), in test_android() 2586 s => s.to_string(), in test_freebsd() 3188 s => s.to_string(), in test_emscripten() 3464 s => s.to_string(), in test_neutrino() [all …]
|
| /rust-libc-0.2.174/ |
| H A D | build.rs | 256 s if s.starts_with("10") => Some(10), in which_freebsd() 257 s if s.starts_with("11") => Some(11), in which_freebsd() 258 s if s.starts_with("12") => Some(12), in which_freebsd() 259 s if s.starts_with("13") => Some(13), in which_freebsd() 260 s if s.starts_with("14") => Some(14), in which_freebsd() 261 s if s.starts_with("15") => Some(15), in which_freebsd()
|
| H A D | CONTRIBUTING.md | 46 Want to use an API which currently isn't bound in `libc`? It's quite easy to add 69 New symbol(s) (i.e. functions, constants etc.) should also be added to the 70 symbols list(s) found in the `libc-test/semver` directory. These lists keep 72 available between changes to the crate. If the new symbol(s) are available on 74 otherwise they should be added to the OS specific list(s). 79 2. Add the API, including adding new symbol(s) to the semver lists. 85 standard, it's just a list shared among all OSs that declare `#[cfg(unix)]`. 102 change to build the `libc` crate successfully. It's annoying to do the 124 merge the bot's release PR. This will automatically publish to crates.io!
|
| /rust-libc-0.2.174/src/windows/ |
| H A D | mod.rs | 44 s! { 315 pub fn puts(s: *const c_char) -> c_int; in puts() 326 pub fn perror(s: *const c_char); in perror() 327 pub fn atof(s: *const c_char) -> c_double; in atof() 328 pub fn atoi(s: *const c_char) -> c_int; in atoi() 329 pub fn atol(s: *const c_char) -> c_long; in atol() 346 pub fn system(s: *const c_char) -> c_int; in system() 555 s: SOCKET, in getsockopt() 562 s: SOCKET, in recvfrom() 570 s: SOCKET, in sendto() [all …]
|
| /rust-libc-0.2.174/src/teeos/ |
| H A D | mod.rs | 1227 pub fn strchr(s: *const c_char, c: c_int) -> *mut c_char; in strchr() 1241 pub fn strrchr(s: *const c_char, c: c_int) -> *mut c_char; in strrchr() 1245 pub fn wcschr(s: *const wchar_t, c: wchar_t) -> *mut wchar_t; in wcschr() 1247 pub fn wcslen(s: *const wchar_t) -> size_t; in wcslen() 1306 pub fn atof(s: *const c_char) -> c_double; in atof() 1308 pub fn atoi(s: *const c_char) -> c_int; in atoi() 1310 pub fn atol(s: *const c_char) -> c_long; in atol() 1312 pub fn atoll(s: *const c_char) -> c_longlong; in atoll() 1344 let mut s: u32 = 0; in CPU_COUNT_S() localVariable 1348 s += i.count_ones(); in CPU_COUNT_S() [all …]
|
| /rust-libc-0.2.174/src/wasi/ |
| H A D | mod.rs | 66 s! { 494 pub fn getenv(s: *const c_char) -> *mut c_char; in getenv() 579 pub fn atof(s: *const c_char) -> c_double; in atof() 580 pub fn atoi(s: *const c_char) -> c_int; in atoi() 581 pub fn atol(s: *const c_char) -> c_long; in atol() 582 pub fn atoll(s: *const c_char) -> c_longlong; in atoll() 583 pub fn strtod(s: *const c_char, endp: *mut *mut c_char) -> c_double; in strtod() 584 pub fn strtof(s: *const c_char, endp: *mut *mut c_char) -> c_float; in strtof() 592 pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_char; in strcat() 610 pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char; in strtok() [all …]
|
| /rust-libc-0.2.174/src/vxworks/ |
| H A D | mod.rs | 130 s! { 1143 pub fn puts(s: *const c_char) -> c_int; in puts() 1154 pub fn perror(s: *const c_char); in perror() 1155 pub fn atof(s: *const c_char) -> c_double; in atof() 1156 pub fn atoi(s: *const c_char) -> c_int; in atoi() 1157 pub fn atol(s: *const c_char) -> c_long; in atol() 1158 pub fn atoll(s: *const c_char) -> c_longlong; in atoll() 1172 pub fn system(s: *const c_char) -> c_int; in system() 1173 pub fn getenv(s: *const c_char) -> *mut c_char; in getenv() 1599 s: c_int, in getpeername() [all …]
|
| /rust-libc-0.2.174/src/unix/newlib/espidf/ |
| H A D | mod.rs | 6 s! { 113 pub fn sendmsg(s: c_int, msg: *const crate::msghdr, flags: c_int) -> ssize_t; in sendmsg() 115 pub fn recvmsg(s: c_int, msg: *mut crate::msghdr, flags: c_int) -> ssize_t; in recvmsg()
|
| /rust-libc-0.2.174/src/unix/ |
| H A D | mod.rs | 46 s! { 641 pub fn fputs(s: *const c_char, stream: *mut FILE) -> c_int; in fputs() 642 pub fn puts(s: *const c_char) -> c_int; in puts() 662 pub fn perror(s: *const c_char); in perror() 663 pub fn atof(s: *const c_char) -> c_double; in atof() 664 pub fn atoi(s: *const c_char) -> c_int; in atoi() 665 pub fn atol(s: *const c_char) -> c_long; in atol() 666 pub fn atoll(s: *const c_char) -> c_longlong; in atoll() 690 pub fn system(s: *const c_char) -> c_int; in system() 691 pub fn getenv(s: *const c_char) -> *mut c_char; in getenv() [all …]
|
| /rust-libc-0.2.174/ci/docker/wasm32-unknown-emscripten/ |
| H A D | Dockerfile | 26 RUN ln -s /usr/bin/python3 /usr/bin/python & \ 27 ln -s /usr/bin/pip3 /usr/bin/pip
|
| /rust-libc-0.2.174/src/unix/newlib/vita/ |
| H A D | mod.rs | 10 s! { 178 pub fn sendmsg(s: c_int, msg: *const crate::msghdr, flags: c_int) -> ssize_t; in sendmsg() 179 pub fn recvmsg(s: c_int, msg: *mut crate::msghdr, flags: c_int) -> ssize_t; in recvmsg()
|
| /rust-libc-0.2.174/src/unix/haiku/ |
| H A D | b64.rs | 7 s! {
|
| H A D | b32.rs | 7 s! {
|
| /rust-libc-0.2.174/src/unix/bsd/netbsdlike/openbsd/ |
| H A D | aarch64.rs | 5 s! {
|
| H A D | riscv64.rs | 5 s! {
|
| /rust-libc-0.2.174/ci/ |
| H A D | README.md | 12 First up, let's talk about the files in this directory: 52 Lots of the architectures tested here use QEMU in the tests, so it's worth going 85 There's some pretty specific instructions for setting up each image (detailed 87 inside of the `libc-test` directory (which is what it's intended for) because 212 Hopefully that's at least somewhat of an introduction to everything going on
|
| H A D | test-runner-linux | 15 timeout 30s qemu-system-$arch \
|
| /rust-libc-0.2.174/src/unix/nto/ |
| H A D | aarch64.rs | 6 s! {
|
| /rust-libc-0.2.174/src/unix/linux_like/linux/uclibc/x86_64/ |
| H A D | l4re.rs | 11 s! {
|
| /rust-libc-0.2.174/src/unix/solarish/ |
| H A D | x86.rs | 11 s! {
|
| /rust-libc-0.2.174/ci/docker/i686-unknown-linux-gnu/ |
| H A D | Dockerfile | 5 RUN sed -i -E 's/(archive|security)\.ubuntu\.com/old-releases.ubuntu.com/g' \
|
| /rust-libc-0.2.174/src/unix/newlib/ |
| H A D | generic.rs | 6 s! {
|
| /rust-libc-0.2.174/src/unix/bsd/apple/b64/aarch64/ |
| H A D | mod.rs | 6 s! {
|
| /rust-libc-0.2.174/src/fuchsia/ |
| H A D | riscv64.rs | 12 s! {
|
| /rust-libc-0.2.174/src/unix/newlib/aarch64/ |
| H A D | mod.rs | 6 s! {
|