MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / nvis

Function nvis

extern/editline/src/vis.c:657–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

655}
656
657char *
658nvis(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

Callers

nothing calls this directly

Calls 1

istrsenvisxFunction · 0.85

Tested by

no test coverage detected