Home | History | Annotate | Download | only in openbsd-compat

Lines Matching refs:vis

1 /*	$OpenBSD: vis.c,v 1.19 2005/09/01 17:15:49 millert Exp $ */
31 /* OPENBSD ORIGINAL: lib/libc/gen/vis.c */
39 #include "vis.h"
54 * vis - visually encode characters
57 vis(char *dst, int c, int flag, int nextc)
160 dst = vis(dst, c, flag, *++src);
189 i = vis(tbuf, c, flag, *++src) - tbuf;
204 dst += vis(tbuf, c, flag, *++src) - tbuf;
217 dst = vis(dst, c, flag, *++src);
220 dst = vis(dst, *src, flag, '\0');