Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | adding getdtablesize on redox | David Carlier | 2023-04-13 | 1 | -0/+1 |
| | |||||
* | redox reallocarray addition | David Carlier | 2023-03-28 | 1 | -0/+3 |
| | |||||
* | Auto merge of #3164 - devnexen:redox_explicit_bzero, r=JohnTitor | bors | 2023-03-28 | 1 | -0/+3 |
|\ | | | | | | | redox add explicit_bzero | ||||
| * | redox add explicit_bzero | David CARLIER | 2023-03-24 | 1 | -0/+3 |
| | | |||||
* | | redox add strlcpy api | David CARLIER | 2023-03-25 | 1 | -0/+4 |
|/ | |||||
* | Add LC_ constants for redox (and truncate() is now supported) | Noa | 2023-03-10 | 1 | -0/+10 |
| | |||||
* | redox: make off_t and time_t long long | Jeremy Soller | 2022-12-02 | 1 | -2/+2 |
| | |||||
* | redox: long is 32-bits on 32-bit systems | Jeremy Soller | 2022-12-01 | 1 | -2/+14 |
| | |||||
* | Add MADV constants for Redox | Jeremy Soller | 2022-10-24 | 1 | -0/+6 |
| | |||||
* | redox: Add ENOTSUP, FIONREAD, MSG_DONTWAIT, and madvise | Jeremy Soller | 2022-10-18 | 1 | -0/+4 |
| | |||||
* | redox: add siginfo_t and rename sa_handler to sa_sigaction | Jeremy Soller | 2022-03-17 | 1 | -1/+9 |
| | |||||
* | Add a couple pthread functions for redox | Noa | 2021-10-21 | 1 | -0/+2 |
| | |||||
* | Add more redox clock constants | Noa | 2021-09-12 | 1 | -0/+2 |
| | |||||
* | Fix termios constants on redox | Noah | 2021-08-08 | 1 | -68/+61 |
| | |||||
* | FD_ISSET: take a *const fd_set instead of *mut fd_set | Alan Somers | 2021-07-12 | 1 | -1/+1 |
| | | | | | | | | | FD_ISSET does not modify its fd_set argument, so it may as well take a const pointer. AFAICT the only reason to take a *mut pointer is because the Linux man page documents it that way (though since glibc implements it as a macro, the constedness is undefined). But since libc implements it directly rather than calling a (nonexistent on most platforms) C function, we're defining the API ourselves. | ||||
* | Add getnameinfo on redox | Noah | 2021-05-03 | 1 | -0/+11 |
| | |||||
* | Add more netdb constants for redox | Noah | 2021-05-03 | 1 | -0/+18 |
| | |||||
* | Fix style | Yuki Okushi | 2021-04-06 | 1 | -41/+9 |
| | |||||
* | Add sys/file.h constants | Noah | 2020-10-28 | 1 | -0/+6 |
| | |||||
* | Add NI_* constants | Noah | 2020-10-27 | 1 | -0/+7 |
| | |||||
* | Update redox socket constants | Noah | 2020-10-27 | 1 | -1/+32 |
| | |||||
* | Use safe_f! consistently across platforms | Daniil Bondarev | 2020-09-12 | 1 | -32/+34 |
| | | | | | | | | | | | | 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. | ||||
* | Re-define `__priority_which`s as c_uint in linux-gnu | Yuki Okushi | 2020-05-21 | 1 | -0/+4 |
| | |||||
* | Add extra functions & constants from sys/mman.h for Redox | Xavier L'Heureux | 2020-05-18 | 1 | -0/+35 |
| | |||||
* | Replace TODO with FIXME to make grep easy | Yuki Okushi | 2020-02-29 | 1 | -6/+6 |
| | |||||
* | Add FD_* functions/macros for redox; implementations copied from linux_like | coolreader18 | 2019-12-08 | 1 | -0/+26 |
| | |||||
* | Formatting | gnzlbg | 2019-09-12 | 1 | -15/+21 |
| | |||||
* | Add termios support for redox | Xavier L'Heureux | 2019-08-15 | 1 | -3/+118 |
| | |||||
* | Remove some unsupported methods | Xavier L'Heureux | 2019-07-15 | 1 | -1/+0 |
| | |||||
* | Style | Xavier L'Heureux | 2019-07-15 | 1 | -30/+38 |
| | |||||
* | Add constants and types | Xavier L'Heureux | 2019-07-15 | 1 | -74/+304 |
| | |||||
* | Add support for redox compilation with extra traits flag + fmt | Xavier L'Heureux | 2019-07-15 | 1 | -75/+234 |
| | |||||
* | libc::c_int -> ::c_int | Joe Richey | 2019-07-10 | 1 | -1/+1 |
| | |||||
* | Add __errno_location on Redox, DragonFlyBSD, Haiku | Joe Richey | 2019-07-10 | 1 | -0/+1 |
| | |||||
* | Update MUSL Linux kernel headers and re-enable Linux tests | gnzlbg | 2019-05-27 | 1 | -0/+3 |
| | |||||
* | Test strerror_r on Android and Linux | gnzlbg | 2019-05-23 | 1 | -0/+3 |
| | |||||
* | [breaking change] incorrect API of gettimeofday | gnzlbg | 2019-05-22 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | The second argument of `gettimeofday` was a `*mut c_void` on all targets, but that type is incorrect in the following targets, where it should be a `*mut timezone` instead: On these other targets it appears that the signature of gettimeofday was incorrect (it takes a time-zone pointer instead of a void pointer): linux+gnu: http://man7.org/linux/man-pages/man2/gettimeofday.2.html freebsd: https://www.freebsd.org/cgi/man.cgi?query=gettimeofday&apropos=0&sektion=2&manpath=FreeBSD+11.2-stable&arch=default&format=html openbsd: https://man.openbsd.org/gettimeofday.2 android: https://github.com/ricardoquesada/android-ndk/blob/master/usr/include/sys/time.h dragonfly: https://www.dragonflybsd.org/cgi/web-man?command=gettimeofday§ion=2 This commit corrects the type on these targets, which is a breaking change. Due to how this API is commonly used (e.g. passing `ptr::null_mut` to the second argument), breakage should be minimal. Users wanting to support both versions can just write `ptr as *mut _` instead. Closes #1338. | ||||
* | Move Redox support into unix module | Jeremy Soller | 2019-05-04 | 1 | -0/+588 |