提交 f9e25d81 编写于 作者: R Rich Felker

add %m support to wide printf

上级 ec634aad
......@@ -293,6 +293,8 @@ static int wprintf_core(FILE *f, const wchar_t *fmt, va_list *ap, union arg *nl_
if ((fl&LEFT_ADJ)) fprintf(f, "%.*s", w-p, "");
l=w;
continue;
case 'm':
arg.p = strerror(errno);
case 's':
bs = arg.p;
if (p<0) p = INT_MAX;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册