VIS(3) BSD Programmer's Manual VIS(3) vis, strvis, strnvis,
strvisx, svis, strsvis, strnsvis, strsvisx - visu- ally encode
characters #include <stdlib.h> #include <vis.h> char * vis(char
*dst, int c, int flag, int nextc); int strvis(char *dst, const
char *src, int flag); int strnvis(char *dst, const char *src,
size_t size, int flag); int strvisx(char *dst, const char *src,
size_t len, int flag); char * svis(char *dst, int c, int flag,
int nextc, const char *extra); int strsvis(char *dst, const char
*src, int flag, const char *extra); int strnsvis(char *dst,
const char *src, size_t size, int flag, const char *extra); int
strsvisx(char *dst, const char *src, size_t len, int flag, const
char *extra); The vis() function copies into dst a string which
represents the charac- ter c. If c needs no encoding, it is
copied in unaltered. The string is NUL terminated and a pointer
to the end of the string is returned. The maximum length of any
encoding is four characters (not including the trailing NUL);
thus, when encodi