11 * to select alternate encoding format
13 #define VIS_OCTAL 0x01 /* use octal \ddd format */
14 #define VIS_CSTYLE 0x02 /* use \[nrft0..] where appropriate */
17 * to alter set of characters encoded (default is to encode all
18 * non-graphic except space, tab, and newline).
20 #define VIS_SP 0x04 /* also encode space */
21 #define VIS_TAB 0x08 /* also encode tab */
22 #define VIS_NL 0x10 /* also encode newline */
23 #define VIS_WHITE (VIS_SP | VIS_TAB | VIS_NL)
24 #define VIS_SAFE 0x20 /* only encode "unsafe" characters */
29 #define VIS_NOSLASH 0x40 /* inhibit printing '\' */
31 char *vis (char *, int, int, int);
34 #endif /* _BSD_VIS_H */