| 655 | } |
| 656 | |
| 657 | char * |
| 658 | nvis(char *mbdst, size_t dlen, int c, int flags, int nextc) |
| 659 | { |
| 660 | char cc[2]; |
| 661 | int ret; |
| 662 | |
| 663 | cc[0] = c; |
| 664 | cc[1] = nextc; |
| 665 | |
| 666 | ret = istrsenvisx(mbdst, &dlen, cc, 1, flags, "", NULL); |
| 667 | if (ret < 0) |
| 668 | return NULL; |
| 669 | return mbdst + ret; |
| 670 | } |
| 671 | |
| 672 | /* |
| 673 | * strvis - visually encode characters from src into dst |
nothing calls this directly
no test coverage detected