4 mbstate_t *restrict ps);
6 This file is part of the Public Domain C Library (PDCLib).
7 Permission is granted to use, modify, and / or redistribute at will.
16 #include <_PDCLIB_encoding.h>
17 #include <_PDCLIB_locale.h>
21 TODO: Other conversion functions call static ..._l helpers, but this one
22 does not, making this function "defined but not used".
24 static size_t wcrtomb_l(
27 mbstate_t *restrict ps,
31 return _PDCLIB_cwcrtomb_l(s, wc, ps, l);
38 mbstate_t *restrict ps
42 return _PDCLIB_cwcrtomb(s, wc, ps ? ps : &st);
48 #include <_PDCLIB_test.h>
52 TESTCASE( NO_TESTDRIVER );