Tim Schumacher
79bcfa967b
LibC: Fix up mblen
2021-10-22 13:28:56 -07:00
Tim Schumacher
8df6955838
LibC: Fix up mbtowc
...
One more proper implementation and one less FIXME.
2021-10-22 13:28:56 -07:00
Tim Schumacher
89afd4d063
LibC: Implement mbsnrtowcs
2021-10-21 23:57:32 -07:00
Tim Schumacher
552ae77f0d
LibC: Implement wcsnrtombs
2021-10-21 23:57:32 -07:00
Tim Schumacher
e618602433
LibC: Implement mbrlen
2021-10-21 23:47:20 -07:00
Daniel Bertalan
13e6d9d71a
LibC: Implement wcslcpy
2021-10-17 17:09:58 +01:00
Tim Schumacher
420bdccf0b
LibC: Implement mbsrtowcs
2021-10-15 21:50:19 -07:00
Tim Schumacher
b0babd062e
LibC: Implement wcsrtombs
2021-10-15 21:50:19 -07:00
Daniel Bertalan
c8367df746
LibC: Implement wcrtomb
...
This function converts a single wide character into its multibyte
representation (UTF-8 in our case). It is called from libc++'s
`std::basic_ostream<wchar_t>::flush`, which gets called at program exit
from a global destructor in order to flush `std::wcout`.
2021-10-15 21:50:19 -07:00
Tim Schumacher
7af7fc8c16
Everywhere: Fix more Copyright header inconsistencies
2021-10-04 11:10:09 +01:00
Tim Schumacher
4302e7ac26
Tests: Add tests for mbrtowc
2021-10-03 11:13:50 +00:00
Tim Schumacher
e7f99edefa
Tests: Add a test for mbsinit
2021-10-03 11:13:50 +00:00
Tim Schumacher
05b283f552
LibC: Implement wmemmove
2021-10-03 05:28:51 +00:00
Tim Schumacher
fa1208edfd
LibC: Implement wmemset
2021-10-03 05:28:51 +00:00
Tim Schumacher
485c0ef691
LibC: Implement wmemcpy
2021-10-03 05:28:51 +00:00
Tim Schumacher
0ca1df4dc6
LibC: Implement wmemchr
2021-10-03 05:28:51 +00:00
Tim Schumacher
5ac2e84264
LibC: Implement wcsstr
2021-10-03 05:28:51 +00:00
Tim Schumacher
1b078f87b7
LibC: Implement wcspbrk
2021-10-03 05:28:51 +00:00
Tim Schumacher
b8c756a53a
LibC: Primitively implement wcscoll
...
At the moment, sorting like LC_COLLATE=C would do is better than
nothing.
2021-09-18 02:57:56 +00:00