Lines Matching defs:vis
1 /* $OpenBSD: vis.c,v 1.25 2015/09/13 11:32:51 guenther Exp $ */
31 /* OPENBSD ORIGINAL: lib/libc/gen/vis.c */
49 #include "vis.h"
65 * vis - visually encode characters
68 vis(char *dst, int c, int flag, int nextc)
151 DEF_WEAK(vis);
173 dst = vis(dst, c, flag, *++src);
202 i = vis(tbuf, c, flag, *++src) - tbuf;
217 dst += vis(tbuf, c, flag, *++src) - tbuf;
249 dst = vis(dst, c, flag, *++src);
252 dst = vis(dst, *src, flag, '\0');