Lines Matching refs:vis
1 /* $OpenBSD: vis.c,v 1.25 2015/09/13 11:32:51 guenther Exp $ */
31 /* OPENBSD ORIGINAL: lib/libc/gen/vis.c */
43 #include "vis.h"
59 * vis - visually encode characters
62 vis(char *dst, int c, int flag, int nextc)
145 DEF_WEAK(vis);
167 dst = vis(dst, c, flag, *++src);
196 i = vis(tbuf, c, flag, *++src) - tbuf;
211 dst += vis(tbuf, c, flag, *++src) - tbuf;
243 dst = vis(dst, c, flag, *++src);
246 dst = vis(dst, *src, flag, '\0');