38 #if !defined(HAVE_STRNVIS) || defined(BROKEN_STRNVIS)
43 #include <sys/types.h>
49 #define VIS_OCTAL 0x01
50 #define VIS_CSTYLE 0x02
59 #define VIS_WHITE (VIS_SP | VIS_TAB | VIS_NL)
67 #define VIS_NOSLASH 0x40
68 #define VIS_GLOB 0x100
74 #define UNVIS_VALIDPUSH 2
75 #define UNVIS_NOCHAR 3
76 #define UNVIS_SYNBAD -1
77 #define UNVIS_ERROR -2
84 char *vis(
char *,
int,
int,
int);
85 int strvis(
char *,
const char *,
int);
86 int stravis(
char **,
const char *,
int);
87 int strnvis(
char *,
const char *,
size_t,
int)
88 __attribute__ ((__bounded__(__string__,1,3)));
89 int strvisx(
char *, const
char *,
size_t,
int)
90 __attribute__ ((__bounded__(__string__,1,3)));
91 int strunvis(
char *, const
char *);
92 int unvis(
char *,
char,
int *,
int);
93 ssize_t strnunvis(
char *, const
char *,
size_t)
94 __attribute__ ((__bounded__(__string__,1,3)));