Return to vis.c CVS log | Up to [cvs.NetBSD.org] / src / lib / libc / gen |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.64, 2014/09/26 05:01:44 | version 1.65, 2014/09/26 13:48:00 | ||
---|---|---|---|
|
|
||
*dst++ = L'0'; | *dst++ = L'0'; | ||
} | } | ||
return dst; | return dst; | ||
/* We cannot encode these characters in VIS_CSTYLE | |||
* because they special meaning */ | |||
case L'n': | |||
case L'r': | |||
case L'b': | |||
case L'a': | |||
case L'v': | |||
case L't': | |||
case L'f': | |||
case L's': | |||
case L'0': | |||
case L'M': | |||
case L'^': | |||
break; | |||
default: | default: | ||
if (iswgraph(c)) { | if (iswgraph(c) && !iswoctal(c)) { | ||
*dst++ = L'\\'; | *dst++ = L'\\'; | ||
*dst++ = c; | *dst++ = c; | ||
return dst; | return dst; |