Files
KirkOS/user/include/mlibc/tests/ansi/wcsrtombs.c
T
kaguya 9a9b91c940 user: implement mlibc as the libc, finally.
It's finally done..

Signed-off-by: kaguya <vpshinomiya@protonmail.com>
2026-05-02 03:31:49 -04:00

13 lines
236 B
C

#include <stdlib.h>
#include <wchar.h>
#include <assert.h>
#include <string.h>
int main() {
const wchar_t str[] = L"wcsrtombs";
const wchar_t *p = str;
int ret = wcsrtombs(NULL, &p, 343245234, NULL);
assert(ret == 9);
return 0;
}