fix wide scanf's handling of input failure on %c, and simplify %[
[musl] / src / internal / syscall.c