summaryrefslogtreecommitdiff
path: root/src/unix/redox
Commit message (Collapse)AuthorAgeFilesLines
* adding getdtablesize on redoxDavid Carlier2023-04-131-0/+1
|
* redox reallocarray additionDavid Carlier2023-03-281-0/+3
|
* Auto merge of #3164 - devnexen:redox_explicit_bzero, r=JohnTitorbors2023-03-281-0/+3
|\ | | | | | | redox add explicit_bzero
| * redox add explicit_bzeroDavid CARLIER2023-03-241-0/+3
| |
* | redox add strlcpy apiDavid CARLIER2023-03-251-0/+4
|/
* Add LC_ constants for redox (and truncate() is now supported)Noa2023-03-101-0/+10
|
* redox: make off_t and time_t long longJeremy Soller2022-12-021-2/+2
|
* redox: long is 32-bits on 32-bit systemsJeremy Soller2022-12-011-2/+14
|
* Add MADV constants for RedoxJeremy Soller2022-10-241-0/+6
|
* redox: Add ENOTSUP, FIONREAD, MSG_DONTWAIT, and madviseJeremy Soller2022-10-181-0/+4
|
* redox: add siginfo_t and rename sa_handler to sa_sigactionJeremy Soller2022-03-171-1/+9
|
* Add a couple pthread functions for redoxNoa2021-10-211-0/+2
|
* Add more redox clock constantsNoa2021-09-121-0/+2
|
* Fix termios constants on redoxNoah2021-08-081-68/+61
|
* FD_ISSET: take a *const fd_set instead of *mut fd_setAlan Somers2021-07-121-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 redoxNoah2021-05-031-0/+11
|
* Add more netdb constants for redoxNoah2021-05-031-0/+18
|
* Fix styleYuki Okushi2021-04-061-41/+9
|
* Add sys/file.h constantsNoah2020-10-281-0/+6
|
* Add NI_* constantsNoah2020-10-271-0/+7
|
* Update redox socket constantsNoah2020-10-271-1/+32
|
* Use safe_f! consistently across platformsDaniil Bondarev2020-09-121-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-gnuYuki Okushi2020-05-211-0/+4
|
* Add extra functions & constants from sys/mman.h for RedoxXavier L'Heureux2020-05-181-0/+35
|
* Replace TODO with FIXME to make grep easyYuki Okushi2020-02-291-6/+6
|
* Add FD_* functions/macros for redox; implementations copied from linux_likecoolreader182019-12-081-0/+26
|
* Formattinggnzlbg2019-09-121-15/+21
|
* Add termios support for redoxXavier L'Heureux2019-08-151-3/+118
|
* Remove some unsupported methodsXavier L'Heureux2019-07-151-1/+0
|
* StyleXavier L'Heureux2019-07-151-30/+38
|
* Add constants and typesXavier L'Heureux2019-07-151-74/+304
|
* Add support for redox compilation with extra traits flag + fmtXavier L'Heureux2019-07-151-75/+234
|
* libc::c_int -> ::c_intJoe Richey2019-07-101-1/+1
|
* Add __errno_location on Redox, DragonFlyBSD, HaikuJoe Richey2019-07-101-0/+1
|
* Update MUSL Linux kernel headers and re-enable Linux testsgnzlbg2019-05-271-0/+3
|
* Test strerror_r on Android and Linuxgnzlbg2019-05-231-0/+3
|
* [breaking change] incorrect API of gettimeofdaygnzlbg2019-05-221-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&section=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 moduleJeremy Soller2019-05-041-0/+588