summaryrefslogtreecommitdiffstats
path: root/include/vis.h
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2004-10-17 20:25:31 +0000
committerotto <otto@openbsd.org>2004-10-17 20:25:31 +0000
commitfacf863e776337b53ec8adb0044741bf257c6226 (patch)
tree7d20c02ec245a8e907574178b3ad248d52144207 /include/vis.h
parentReentrant versions of getprotoent(3) and getservent(3). Adapted from (diff)
downloadwireguard-openbsd-facf863e776337b53ec8adb0044741bf257c6226.tar.xz
wireguard-openbsd-facf863e776337b53ec8adb0044741bf257c6226.zip
implement strnunvis(3), a bounded version of strunvis(3). ok millert@
Diffstat (limited to 'include/vis.h')
-rw-r--r--include/vis.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/vis.h b/include/vis.h
index a6cd2cb843e..8f77787d81d 100644
--- a/include/vis.h
+++ b/include/vis.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vis.h,v 1.9 2003/08/01 17:38:33 avsm Exp $ */
+/* $OpenBSD: vis.h,v 1.10 2004/10/17 20:25:31 otto Exp $ */
/* $NetBSD: vis.h,v 1.4 1994/10/26 00:56:41 cgd Exp $ */
/*-
@@ -81,6 +81,9 @@ int strvisx(char *, const char *, size_t, int)
__attribute__ ((__bounded__(__string__,1,3)));
int strunvis(char *, const char *);
int unvis(char *, char, int *, int);
+ssize_t strnunvis(char *, const char *, size_t)
+ __attribute__ ((__bounded__(__string__,1,3)));
+
__END_DECLS
#endif /* !_VIS_H_ */