See POSIX docs for more info. Currently, we miss the following:
[ ] Support for l (ell) prefix that changes the argument type from char * to wchar_t *.
[ ] Support for %[ and %l[ in wscanf and other wide char versions.
Note that %[ in wide char versions is currently is completely disabled within https://github.com/bitwiseworks/libc/commit/d6b474ec1bcda89213b74c43e42ff50bfe3104ce (i.e. [ will be treated as regular char to match). The main problem is that the inp_set function used in _input.c to process this modifier assumes that there are only 256 characters while in wchar_t mode there are 65536. This requires a different technique to track the set rather than a simple char map [256].
See POSIX docs for more info. Currently, we miss the following:
l
(ell) prefix that changes the argument type fromchar *
towchar_t *
.%[
and%l[
inwscanf
and other wide char versions.Note that
%[
in wide char versions is currently is completely disabled within https://github.com/bitwiseworks/libc/commit/d6b474ec1bcda89213b74c43e42ff50bfe3104ce (i.e. [ will be treated as regular char to match). The main problem is that theinp_set
function used in_input.c
to process this modifier assumes that there are only 256 characters while inwchar_t
mode there are 65536. This requires a different technique to track the set rather than a simplechar map [256]
.Related to #8.