Lephenixnoir
b11c059c0f
stdio: start simplifying scanf limit tracking logic
...
Basically removing it from the __scanf_input structure and specializing
it at format sites. The reason is that pretending it's the end of the
stream after the limit is reached does not work because we have to
return EOF at end of stream but not when the limit is hit. So we have to
handle it explicitly, and since we do, no need to have it in the
structure too.
2024-01-14 19:28:36 +01:00
Lephenixnoir
2215b3c267
stdio: make all scanf tests pass
...
The tests are still far from exhaustive but that's a good start.
2024-01-14 17:31:21 +01:00
Lephenixnoir
d8a55b728d
stdlib: restore private headers
2024-01-14 13:48:41 +01:00
Sylvain PILLOT
09b33ca2fa
stdlib: scanf implementation by SlyVTT
...
Authored-By: Slyvtt <pillot.sylvain@gmail.com>
2023-05-26 21:04:37 +02:00
Lephenixnoir
26e54af8e0
stdlib: scanf-friendly strto* functions
2023-04-01 20:30:29 +02:00
Yann MAGNIN
619afe25da
fxlibc - v1.4.2 : fix reallocarray() + remove old Vhex/Casiowin sources
...
@update
> CMakeLists.txt
| remove casiowin-* target (unused)
| remove x86-generic target (unused)
| update files location
| remove old vhex sources files (deprecated, unused)
> src/posix
| remove this folder
> src/libc
| move its content to src/
| remove thread module
> src/stdlib/reallocarray
| check if the multiplication overflow failed
| set appropriate errno value if multiplication failed
2022-06-03 16:25:31 +02:00