diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-10-17 20:25:32 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-10-17 20:25:32 +0000 |
commit | 8566f00d2c81878ad985906994fedb6fbb16df24 (patch) | |
tree | c040b009eee232769227b6f430ef75ceb07ee082 /include | |
parent | 6119135c871cdb14d2c537be99ec398e13edf027 (diff) |
implement strnunvis(3), a bounded version of strunvis(3). ok millert@
Diffstat (limited to 'include')
-rw-r--r-- | include/vis.h | 5 |
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_ */ |