summaryrefslogtreecommitdiffstats
path: root/contrib/libc-vis/vis.h
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2013-03-14 23:51:47 +0000
committerbrooks <brooks@FreeBSD.org>2013-03-14 23:51:47 +0000
commit9af7ef35152f6caaeed398ee88333e6681e95d58 (patch)
treefd1e5757de4ffb8c0e686a53cda764bd6cbfdcec /contrib/libc-vis/vis.h
parent5b0f44c9215684a9705167191bf33f92d8ba7a36 (diff)
downloadFreeBSD-src-9af7ef35152f6caaeed398ee88333e6681e95d58.zip
FreeBSD-src-9af7ef35152f6caaeed398ee88333e6681e95d58.tar.gz
Update to the latest (un)vis(3) sources from NetBSD. This adds
multibyte support[0] and the new functions strenvisx and strsenvisx. Add MLINKS for vis(3) functions add by this and the initial import from NetBSD[1]. PR: bin/166364, bin/175418 Submitted by: "J.R. Oldroyd" <fbsd@opal.com>[0] stefanf[1] Obtained from: NetBSD MFC after: 2 weeks
Diffstat (limited to 'contrib/libc-vis/vis.h')
-rw-r--r--contrib/libc-vis/vis.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/libc-vis/vis.h b/contrib/libc-vis/vis.h
index cd7680e..beb029c 100644
--- a/contrib/libc-vis/vis.h
+++ b/contrib/libc-vis/vis.h
@@ -1,4 +1,4 @@
-/* $NetBSD: vis.h,v 1.20 2012/12/14 21:36:59 christos Exp $ */
+/* $NetBSD: vis.h,v 1.21 2013/02/20 17:01:15 christos Exp $ */
/* $FreeBSD$ */
/*-
@@ -96,9 +96,12 @@ int strsnvis(char *, size_t, const char *, int, const char *);
int strvisx(char *, const char *, size_t, int);
int strnvisx(char *, size_t, const char *, size_t, int);
+int strenvisx(char *, size_t, const char *, size_t, int, int *);
int strsvisx(char *, const char *, size_t, int, const char *);
int strsnvisx(char *, size_t, const char *, size_t, int, const char *);
+int strsenvisx(char *, size_t, const char *, size_t , int, const char *,
+ int *);
int strunvis(char *, const char *);
int strnunvis(char *, size_t, const char *);
OpenPOWER on IntegriCloud