diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2016-06-08 17:35:13 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2016-06-08 17:35:13 +0000 |
commit | 46f0e7ccdfb34f49b0cc1de7d00c1429a00f1ff3 (patch) | |
tree | b8a3cd9c4a97c3c3216b5fe77988ac55b76d4a3b /vis.h | |
parent | 2110fd8ff6c6fdfe927e54509782d103c3ecbf16 (diff) |
Notes
Diffstat (limited to 'vis.h')
-rw-r--r-- | vis.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $NetBSD: vis.h,v 1.21 2013/02/20 17:01:15 christos Exp $ */ +/* $NetBSD: vis.h,v 1.24 2016/01/14 20:42:14 christos Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -63,6 +63,9 @@ #define VIS_NOESCAPE 0x0400 /* don't decode `\' */ #define _VIS_END 0x0800 /* for unvis */ #define VIS_GLOB 0x1000 /* encode glob(3) magic characters */ +#define VIS_SHELL 0x2000 /* encode shell special characters [not glob] */ +#define VIS_META (VIS_WHITE | VIS_GLOB | VIS_SHELL) +#define VIS_NOLOCALE 0x4000 /* encode using the C locale */ /* * unvis return codes @@ -88,6 +91,7 @@ char *svis(char *, int, int, int, const char *); char *snvis(char *, size_t, int, int, int, const char *); int strvis(char *, const char *, int); +int stravis(char **, const char *, int); int strnvis(char *, size_t, const char *, int); int strsvis(char *, const char *, int, const char *); |