auronandace
71560ce9ca
move ctype bits from C to cbindgen
2026-03-27 08:07:18 +00:00
auronandace
bc5ee99856
move sys stat bits from C file to cbindgen
2026-03-26 13:58:09 +00:00
Jeremy Soller
8dec9f36ff
Merge branch 'sys-mman-bits' into 'master'
...
move sys mman bits to cbindgen
See merge request redox-os/relibc!1119
2026-03-26 06:30:51 -06:00
auronandace
db8021d4c8
move sys mman bits to cbindgen
2026-03-26 11:33:11 +00:00
auronandace
bdceda8665
move sys ioctl bits to cbindgen
2026-03-26 11:09:52 +00:00
auronandace
23996c4fd7
move sys select bits to cbindgen
2026-03-25 14:28:00 +00:00
auronandace
6f48e1c954
move sys resource bits file to cbindgen
2026-03-25 13:34:03 +00:00
auronandace
7ce47e0cad
remove empty C ptrace bits header
2026-03-25 12:26:24 +00:00
Wildan M
c119eba845
Define feature macros in unistd
2026-03-13 21:19:35 +07:00
auronandace
4b3d1aa5ca
change sa_flags in sigaction to int to match spec
2026-02-19 09:46:56 +00:00
auronandace
e8118dc293
removed the C locale bits header
2026-02-11 15:38:42 +00:00
Wildan M
2c522c355f
Fix wchar_t redefinition in C++
2026-01-27 14:40:23 +07:00
Connor-GH
6356142c79
stdio.h: add std{in,out,err} macros; regex.h: add REG_MINIMAL macro
2026-01-23 09:41:19 -06:00
Wildan M
5476770359
Define max limits in rust
2026-01-17 18:17:35 +07:00
Jeremy Soller
b833e44293
Revert "Remove bits/stdlib"
...
This reverts commit 8867ba80df .
2026-01-15 18:40:23 -07:00
Wildan M
8867ba80df
Remove bits/stdlib
2025-12-28 19:43:54 +07:00
Jeremy Soller
b1c9847b97
Include sys/stat.h and unistd.h in fcntl.h, remove bits/fcntl.h
2025-12-19 13:01:45 -07:00
Josh Megnauth
70ae45ff85
Improve sysconf.h on Linux
...
I copied the constants and definitions from musl which we can presume is
correct. Relibc is missing some features which affects our sysconf as
well, such as constants in limits.h or a working resources.h.
2025-08-20 02:05:05 -04:00
Ron Williams
b7589a63c5
Fixes to improve signals for openposixtestsuite
2025-08-04 07:37:14 -06:00
Josh Megnauth
e677ad55d5
Better priorities & LOG_UPTO for syslog.h
...
* Fix PERROR to match musl/glibc better
* More unit tests + enabled on Linux
* Pack priority and facility into one i32 and check the bits with
bitflags
* Add LOG_UPTO (logic is straight from musl)
Not done:
* "%m" - this could just be added to printf
* LOG_CONS
2025-08-01 23:45:26 -04:00
Bendeguz Pisch
4fc80ea7b0
Implement syslog functionality
2025-07-17 22:49:51 -06:00
Ron Williams
770dc71816
Fix CI, Add signal.h constants
2025-07-11 20:28:45 -06:00
Jeremy Soller
38cca8acc0
Fix select macros
2025-05-06 11:34:48 -06:00
Jeremy Soller
3402246d87
define NFDBITS
2025-05-05 21:05:07 -06:00
Jeremy Soller
bce8eac3c7
Move CMSG functions to C macros
2025-05-03 11:21:27 -06:00
4lDO2
37b60b67e0
Add and fix test for kill&waitpid.
2025-04-19 19:27:02 +02:00
Josh Megnauth
27cd6a2b88
fix: USHRT_MAX is too large
...
The original expanded to 16 nibbles which is technically correct because
the standard defines USHRT_MAX as being at LEAST 65535. However, in
practice everything seems to set the max as the max length of two bytes.
2025-02-18 00:06:58 -05:00
Peter Limkilde Svendsen
b3f36faf87
Add pvalloc()
2025-02-11 21:13:51 +01:00
Peter Limkilde Svendsen
42011f28d8
Test errno constant macros, make ENOTSUP available in Rust
2024-11-17 16:16:47 +00:00
Josh Megnauth
bf1ea4e799
Set h_errno for gethostbyname/addr
2024-11-02 12:21:47 +00:00
4lDO2
30caf55429
Set siginfo_t.si_{pid,uid} from kill signals too.
2024-09-24 19:34:51 +02:00
4lDO2
13e7b77643
Implement basic support for (kernel) rt signals.
2024-09-24 19:34:50 +02:00
4lDO2
284f51b47e
Fix struct sigaction defintion.
2024-07-09 15:39:57 +02:00
Jeremy Soller
eb3b93d14a
Define strtold in C until Rust and cbindgen can use f128
2024-01-12 12:21:20 -07:00
Jeremy Soller
17ac6ef039
Remove inline from strtold
2024-01-12 12:05:47 -07:00
Jeremy Soller
225655b711
Do not mark strtold as static
2024-01-12 11:53:47 -07:00
Jeremy Soller
b8ee20cb66
Remove duplicate wprintf definitions
2024-01-12 11:29:33 -07:00
4lDO2
5630b6e0df
Make relibc (except libm) pure Rust
2024-01-11 13:08:06 +00:00
Jeremy Soller
2a40638ec3
Fix assert definition
2024-01-03 13:02:51 -07:00
Jeremy Soller
c55649452a
Define struct ucred
2023-09-13 11:33:55 -06:00
Jeremy Soller
e2fd33db40
Ensure wchar_t and wint_t definitions can coexist with GCC stddef.h
2023-05-11 11:26:55 -06:00
Jeremy Soller
51c93c4b39
Cleanup of wchar_t and wint_t definitions
2023-05-11 10:41:49 -06:00
Jeremy Soller
5a5bd0c983
Add stubs for wprintf functions
2023-05-11 07:48:21 -06:00
Jeremy Soller
0646140d99
Remove detailed abort, too many compatibility issues
2023-03-10 11:33:53 -07:00
Jeremy Soller
e7b70fdb93
Ensure assert_fail and abort have noreturn attribute
2023-03-10 11:23:56 -07:00
Jeremy Soller
334e33cfde
Fix abort definition for C++
2023-03-10 10:45:19 -07:00
Jeremy Soller
2b3e9a3bd0
Use backup abort on C++
2023-03-10 10:23:08 -07:00
Jeremy Soller
dab147f862
Change stdint include order so __need_ defines are set
2023-03-10 07:53:53 -07:00
Jeremy Soller
47bd55451f
Detailed information on abort using macro and new __abort function
2023-03-09 20:19:27 -07:00
Jeremy Soller
ae7cee26a6
Move wctype_t definition to wctype rust header
2021-09-14 20:36:23 -06:00