diff options
author | Guillem Jover <guillem@hadrons.org> | 2009-10-24 00:15:57 +0200 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2009-10-24 01:47:26 +0200 |
commit | 04250f6a7c3e2d22a9861b82615329e1dc328c93 (patch) | |
tree | 9f7fb5d273f6b490f13c1f7d5b3c154f744eca3f /include/vis.h | |
parent | 5c078ce2f581e1bdfc918326051c587e0cb1d0d6 (diff) | |
download | libbsd-04250f6a7c3e2d22a9861b82615329e1dc328c93.tar.gz |
Add strnvis and strnunvis functions
Taken from OpenBSD.
Diffstat (limited to 'include/vis.h')
-rw-r--r-- | include/vis.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vis.h b/include/vis.h index 84de6fc..835d2d6 100644 --- a/include/vis.h +++ b/include/vis.h @@ -78,8 +78,10 @@ __BEGIN_DECLS char *vis(char *, int, int, int); int strvis(char *, const char *, int); int strvisx(char *, const char *, size_t, int); +int strnvis(char *, const char *, size_t, int); int strunvis(char *, const char *); int strunvisx(char *, const char *, int); +ssize_t strnunvis(char *, const char *, size_t); int unvis(char *, int, int *, int); __END_DECLS |