mirror of
https://github.com/deadw00d/AROS.git
synced 2025-12-08 14:34:41 +00:00
Replaces incomplete or stub implementations of wide/multibyte conversion functions in the AROS standard C runtime library with full UTF-8 compliant versions: - wcrtomb(), wctomb(), mbtowc(), mblen() - wcstombs(), mbstowcs() These implementations assume stateless UTF-8 encoding and define wchar_t as uint32_t (UCS-4) to support the full Unicode range (U+0000 to U+10FFFF). Additionally, adds a CUnit test suite verifying correct round-trip conversions, encoding validity, and error handling to ensure robustness. Also removes incorrect feature test macro protections from stdc headers, ensuring consistent exposure of functionality. This update provides foundational wide character support required by applications relying on Unicode-aware text processing in AROS stdc.
POSIX Threads for AROS and MorphOS
This library implements a subset of the POSIX Threads standard on top of the native Amiga APIs (SignalSemaphores, signals, processes, etc.).
Limitations
Due to underlying API limitations detached threads are not supported.
License
The library is availabe under the zlib license.
Website
Acknowledgements
This library is not directly based on any existing one, but it was inspired by the following projects:
- AROS' thread.library by Rob Norris
- Amiga SDL by Gabriele Greco
- Pthreads-w32 by Ross Johnson
- winpthreads by Lockless Inc.