auronandace
b4fe14a15b
verify header includes for sys_statvfs
2026-04-11 15:21:54 +01:00
Peter Limkilde Svendsen
f28cb80507
Replace static mut in seed48()
2026-04-11 16:07:48 +02:00
Jeremy Soller
a820dd4d25
Merge branch 'printf-float-alternate-fix' into 'master'
...
printf: fix '%#.0e' to always print the radix character
See merge request redox-os/relibc!1177
2026-04-10 18:53:22 -06:00
Connor-GH
4a497bb263
printf: fix '%#.0e' to always print the radix character
...
Before, we were printing `'-4e+01'` from `printf("'%#.0e'\n", -42.0);`
Now we print `'-4.e+01'` as POSIX requires, and to pass a test in
os-test: https://doc.redox-os.org/test-results/os-test/os-test-20260410/html/stdio/printf-e-alt.c
2026-04-10 13:53:31 -05:00
Connor-GH
7ec3e239b5
printf: ignore zero flag on some conversions if precision is specified.
2026-04-10 11:19:55 -05:00
Jeremy Soller
da40ffa9ec
Merge branch 'fix-malloc-conflict' into 'master'
...
Fix malloc conflict
See merge request redox-os/relibc!1175
2026-04-10 07:11:25 -06:00
Wildan M
87e1739a85
Fix malloc conflict
2026-04-10 16:38:32 +07:00
Jeremy Soller
62b0f0c198
Merge branch 'timespec' into 'master'
...
rename bits_time to bits_timespec for consistency
See merge request redox-os/relibc!1173
2026-04-09 15:25:49 -06:00
auronandace
49f96a96e6
rename bits_time to bits_timespec for consistency
2026-04-09 10:50:04 +01:00
auronandace
121ee8edb0
remove ucred from sys_socket bits
2026-04-09 09:59:24 +01:00
Mathew John Roberts
6530de76b9
Merge branch 'sys-epoll-docs' into 'master'
...
Add more sys/epoll.h docs
See merge request redox-os/relibc!1171
2026-04-09 07:59:59 +01:00
Peter Limkilde Svendsen
711d342227
Add more sys/epoll.h docs
2026-04-08 23:41:04 +02:00
Peter Limkilde Svendsen
74c6e48a8f
Improve ptrace docs
2026-04-08 22:36:19 +02:00
Mathew John Roberts
83022746f9
Merge branch 'aio-docs' into 'master'
...
Add aio.h docs
See merge request redox-os/relibc!1163
2026-04-08 19:45:06 +01:00
Peter Limkilde Svendsen
68a49acace
Add aio.h docs
2026-04-05 17:30:06 +02:00
Peter Limkilde Svendsen
5151e58b47
Document pthread types
2026-04-05 16:33:06 +02:00
auronandace
b4009544a8
minor code cleanups
2026-04-03 14:39:56 +01:00
Jeremy Soller
19b0b44eb9
Merge branch 'elf-bits' into 'master'
...
move elf bits to cbindgen
See merge request redox-os/relibc!1157
2026-04-03 07:01:10 -06:00
auronandace
700cf642e5
move elf bits to cbindgen
2026-04-03 09:15:08 +01:00
auronandace
a0dd75a011
move unistd bits to cbindgen
2026-04-03 08:58:37 +01:00
Connor-GH
aecec88fb6
Fix regression caused in e553e9e4
...
In the process of converting the assembly from AT&T syntax to Intel
syntax, bjorn3 made some mistakes. Firstly, `A+B(%reg)` is translated to
`[reg + A + B]`, and not `[reg * B + A]`. I can see how this was
confused because x86 also has an addressing mode that takes up to 4
arguments, where `A(%r1,%r2,B)` is translated to `[r1 + A + r2 * B]`
with the constraints that `B` must be a power of two <= 8, and `A` (if
present), must be an immediate. In this case, the `72+8` and such is
constfolded by the assembler into `80`.
This commit and the previous AT&T syntax version produce the exact same
assembly output now.
2026-04-02 19:14:42 -05:00
Jeremy Soller
8f9dde924b
Merge branch 'fix-grp' into 'master'
...
make usize as size_t as per spec
See merge request redox-os/relibc!1154
2026-04-02 08:47:10 -06:00
Jeremy Soller
44efa11673
Merge branch 'platform-types-docs' into 'master'
...
Platform types docs
See merge request redox-os/relibc!1153
2026-04-02 08:47:08 -06:00
Peter Limkilde Svendsen
1f3cfcafb2
Platform types docs
2026-04-02 08:47:07 -06:00
auronandace
6d0030b765
make usize as size_t as per spec
2026-04-02 13:59:14 +01:00
auronandace
18ce904d7e
export iovec via cbindgen function
2026-04-02 08:03:19 +01:00
Jeremy Soller
616f380856
Merge branch 'fix-rustdoc-warnings' into 'master'
...
Fix most rustdoc warnings
See merge request redox-os/relibc!1151
2026-04-01 18:47:12 -06:00
Jeremy Soller
369b45fceb
Merge branch 'getopt-docs' into 'master'
...
Improve getopt.h docs
See merge request redox-os/relibc!1150
2026-04-01 18:46:38 -06:00
Peter Limkilde Svendsen
55f9c611b2
Fix most rustdoc warnings
2026-04-02 00:43:20 +02:00
Peter Limkilde Svendsen
ce26bdc8b6
Improve getopt.h docs
2026-04-01 23:43:32 +02:00
Jeremy Soller
594381aaff
Merge branch 'timeval-move-doc' into 'master'
...
Document moved spec of timeval struct
See merge request redox-os/relibc!1149
2026-04-01 15:35:42 -06:00
Peter Limkilde Svendsen
6f458cf1f3
Document moved spec of timeval struct
2026-04-01 23:20:05 +02:00
Peter Limkilde Svendsen
b057e5078c
Add docs for shadow.h
2026-04-01 22:54:30 +02:00
Jeremy Soller
0b880eb17d
Merge branch 'split-iovec' into 'master'
...
split out iovec from sys_uio header
See merge request redox-os/relibc!1147
2026-04-01 08:41:26 -06:00
Jeremy Soller
a64cebf296
Merge branch 'verify-grp-includes' into 'master'
...
verify grp header includes
See merge request redox-os/relibc!1146
2026-04-01 08:41:07 -06:00
Jeremy Soller
0630fa12f2
Merge branch 'stdio-bits' into 'master'
...
move stdio bits to cbindgen
See merge request redox-os/relibc!1145
2026-04-01 08:40:50 -06:00
Jeremy Soller
d4c14e721e
Merge branch 'stdlib-bits' into 'master'
...
move stdlib bits to cbindgen
See merge request redox-os/relibc!1144
2026-04-01 08:40:37 -06:00
auronandace
005b322c7c
actually export iovec
2026-03-31 11:13:16 +01:00
auronandace
5d22f7096b
split out iovec from sys_uio header
2026-03-31 11:03:41 +01:00
auronandace
83eb95a496
verify grp header includes
2026-03-31 09:15:51 +01:00
auronandace
1764004b80
move stdio bits to cbindgen
2026-03-31 08:53:10 +01:00
auronandace
afd9cad0c3
move stdlib bits to cbindgen
2026-03-31 08:31:26 +01:00
Zero
aca4df91cf
feat(time): Add process_pid to timer_internal_t
...
Add `process_pid` field to `timer_internal_t` struct.
This field is used by the `alarm()` function to specify the PID of the process
to which the `SIGALRM` signal should be delivered.
2026-03-31 00:19:35 +02:00
Jeremy Soller
d34872cb35
Merge branch 'fgetws-fix' into 'master'
...
fgetws: don't always return NULL on EOF
See merge request redox-os/relibc!1126
2026-03-30 07:12:06 -06:00
Connor-GH
e721d3d7c8
fgetws: don't always return NULL on EOF
...
This was a bug that prevented a lot of tests from passing. We only
need to return NULL if the file had an error. `fgetws` "stops when end
of stream is reached". Also, it only returns an error if "end of stream
was *already* reached or if an error occurred" (emphasis mine). Compare
this to the musl implementation:
https://git.musl-libc.org/cgit/musl/tree/src/stdio/fgetws.c
2026-03-29 21:10:59 -05:00
Jeremy Soller
a1337a8fc0
Merge branch 'sysconf-heads' into 'master'
...
Add sysconf posix constants
See merge request redox-os/relibc!1143
2026-03-29 16:21:12 -06:00
auronandace
4130dbce23
readd trailer for inttypes bits
2026-03-29 16:07:58 +01:00
auronandace
61eb827bc4
fix inttypes after moving wchar bits
2026-03-29 16:05:33 +01:00
auronandace
3b69b617a2
move wchar bits to cbindgen
2026-03-29 15:49:01 +01:00
bjorn3
f8626fd9d0
Move setjmp and sigsetjmp together
...
This fixes compilation of relibc on arm64. On arm64 the reference from
sigsetjmp to setjmp has a limited range.
2026-03-29 16:18:21 +02:00