4lDO2
d68f5d8d3d
Make redox itimer relibc stub rather than kernel stub.
2025-04-13 18:18:05 +02:00
bjorn3
ea4c41686c
Rustfmt
2025-04-12 22:15:05 +02:00
Jeremy Soller
ed575e9259
Implement sigsetjmp on all archs
2025-04-11 20:18:27 -06:00
Jeremy Soller
72d2b1137c
Implement quick_exit and at_quick_exit
2025-04-11 18:09:44 -06:00
Jeremy Soller
d9a28156ce
Disable at_quick_exit
2025-04-11 16:25:12 -06:00
Jeremy Soller
27f3924126
Fix msg_controllen and cmsg_len types
2025-04-10 14:52:26 -06:00
Jeremy Soller
5b5be9aae8
Add IPV6_JOIN/LEAVE_GROUP
2025-04-10 14:43:35 -06:00
Jeremy Soller
b0be913956
Implement preadv and pwritev
2025-04-10 08:56:06 -06:00
Josh Megnauth
090391d94f
fix(strptime): Don't clobber struct tm
...
Our strptime implementation uses subformatting to handle specifiers that
expand to other specifiers. For example, '%T' expands to "%H:%M%:%S".
Relibc calls strptime again to handle '%T' by expanding it.
However, our strptime zeroes out struct tm which clobbers old values. If
strptime is called with a format string like "%D%t%T", the set values
for '%D' are clobbered.
Zeroing out the struct is extra, unneeded work as well. The user may
want to preserve old values. We don't read from struct tm so we don't
have to worry about invalid values. Finally, `musl` and `glibc` don't
clear the values either so we can default to their behavior.
2025-04-01 23:35:29 -04:00
Jeremy Soller
121e733990
Merge branch 'fix_arm64' into 'master'
...
Fix building for arm64
See merge request redox-os/relibc!636
2025-03-30 16:26:41 +00:00
bjorn3
50766b0469
Fix building on newer nighlies
2025-03-30 16:37:13 +02:00
bjorn3
8650ac293e
Fix building on targets with unsigned c_char
2025-03-30 16:35:29 +02:00
Darley Barreto
26573d02d1
Time improvements
2025-03-29 19:29:20 +00:00
Nicolás Antinori
28713e6bf1
Update posix-regex to master branch
2025-03-29 14:02:40 +00:00
GrayJack
c7d94ae4d7
feat(c23): Implement %b and %B format
2025-03-22 20:15:56 -03:00
Jeremy Soller
78d7d66839
Merge branch 'strftime-iso-8601' into 'master'
...
strftime: ISO-8601 leap weeks
See merge request redox-os/relibc!628
2025-03-21 01:53:05 +00:00
GrayJack
0a1ea4d57e
docs: Add documentation of the printf format
2025-03-20 19:46:46 -03:00
Josh Megnauth
ccc1b7f560
strftime: ISO-8601 leap weeks
2025-03-20 02:34:26 -04:00
Jeremy Soller
5ddf2ad000
Merge branch 'strptime-T-formatter' into 'master'
...
strptime: Implement %T, minor cleanups
See merge request redox-os/relibc!627
2025-03-18 14:59:39 +00:00
Josh Megnauth
8e6bcb6653
strptime: Implement %T, minor cleanups
...
* %T is implemented but untested for now (we lack strptime tests)
* I switched some unexported, immutable statics to const as it's a
better fit
* parse_am_pm() now correctly strips prefixed whitespace AND doesn't
allocate heap memory
2025-03-18 00:45:50 -04:00
Josh Megnauth
51c04d2470
Use C string literals & deprecate c_str!
2025-03-14 21:17:53 -04:00
Darley Barreto
dda7142385
Few improvements to time.h
2025-02-26 23:58:57 +00:00
Josh Megnauth
d63f0249e2
fix: cbindgen emits wrong vsscanf signature
...
`cbindgen` emits `...` instead of `va_list` when the final parameter is
named `__valist`.
2025-02-22 00:19:51 -05:00
Peter Limkilde Svendsen
6c94ed589a
Mention select() declaration
2025-02-15 00:20:26 +01:00
Peter Limkilde Svendsen
b9c4a910dd
Reorder alphabetically
2025-02-15 00:18:18 +01:00
Peter Limkilde Svendsen
1fea91cb1a
Add docs and deprecations for sys/time.h
2025-02-15 00:15:54 +01:00
Peter Limkilde Svendsen
63aee953a1
Add docs for netinet headers
2025-02-12 21:24:16 +01:00
Jeremy Soller
56a1d9c3e9
Merge branch 'pvalloc2' into 'master'
...
Add pvalloc()
See merge request redox-os/relibc!614
2025-02-12 17:58:25 +00:00
Jeremy Soller
2eba1f5c6e
Merge branch 'strings-docs' into 'master'
...
Add docs, missing functions for strings.h
See merge request redox-os/relibc!611
2025-02-12 17:57:54 +00:00
Peter Limkilde Svendsen
b3f36faf87
Add pvalloc()
2025-02-11 21:13:51 +01:00
Nicolás Antinori
28b471300b
added vwscanf
2025-02-09 02:29:20 -03:00
Nicolás Antinori
230a15046d
cleanup
2025-02-08 14:24:44 -03:00
Nicolás Antinori
47ed7a5907
fixed return value
2025-02-08 14:11:25 -03:00
Nicolás Antinori
da3e1e94fa
added get_char_encoded_length function
2025-02-08 14:05:37 -03:00
Nicolás Antinori
ca9cfde3d6
clean up code
2025-02-07 16:04:25 -03:00
Nicolás Antinori
9d49a2745f
it is working, but with an unsafe
2025-02-07 15:56:21 -03:00
Nicolás Antinori
61c31f348c
changed wscanf parameters
2025-02-06 19:58:54 -03:00
Nicolás Antinori
18659e821f
compiling but not working :)
2025-02-06 19:45:54 -03:00
Peter Limkilde Svendsen
bda6a944b6
Fix error on deprecated functions
2025-02-04 19:53:09 +01:00
Peter Limkilde Svendsen
05eb0e85de
Set #[no_mangle] on ffsl(), ffsll()
2025-02-03 23:07:02 +01:00
Peter Limkilde Svendsen
306196da2a
Implement ffsl(), ffsll()
2025-02-03 22:47:45 +01:00
Peter Limkilde Svendsen
79badf4cfa
Add missing function stubs
2025-02-03 22:46:27 +01:00
Peter Limkilde Svendsen
39f564ea23
Add docs and deprecations for strings.h
2025-02-03 22:37:37 +01:00
Peter Limkilde Svendsen
a98fe90498
Fix clock_getcpuclockid() parameter type
2025-02-03 21:50:51 +01:00
Peter Limkilde Svendsen
0f0bc8fc5e
Formatting
2025-02-02 22:42:05 +01:00
Peter Limkilde Svendsen
3f88c9042d
Add missing function stubs
2025-02-02 22:41:45 +01:00
Peter Limkilde Svendsen
b0c6991f57
Reorder alphabetically
2025-02-02 22:28:32 +01:00
Peter Limkilde Svendsen
ef6b64a7c2
Doc and pub use for strptime
2025-02-02 22:22:39 +01:00
Peter Limkilde Svendsen
ee4f346ef0
Add docs and deprecations for time.h
2025-02-02 22:19:57 +01:00
Peter Limkilde Svendsen
85f01e8412
Add stubs for missing functions
2025-02-01 18:36:07 +01:00