diff options
| author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-01-30 23:00:51 +0000 |
|---|---|---|
| committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-01-30 23:00:51 +0000 |
| commit | 678bbc14b25b657d63c91fa9a4bd3068bf100bfa (patch) | |
| tree | 007f3b832dd6368ef31062783b65fd3f2df7ac05 /lib/libedit/chartype.h | |
| parent | 164aa3ce5e4bada1f189d1c5b56279731aa367ef (diff) | |
| parent | 70f1d4d70d0c78aa69c52d977130f4046851c4a3 (diff) | |
Notes
Diffstat (limited to 'lib/libedit/chartype.h')
| -rw-r--r-- | lib/libedit/chartype.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libedit/chartype.h b/lib/libedit/chartype.h index 8b086e59c420..9f5e7e407c8c 100644 --- a/lib/libedit/chartype.h +++ b/lib/libedit/chartype.h @@ -1,4 +1,4 @@ -/* $NetBSD: chartype.h,v 1.23 2016/02/24 17:20:01 christos Exp $ */ +/* $NetBSD: chartype.h,v 1.25 2016/03/07 00:05:20 christos Exp $ */ /*- * Copyright (c) 2009 The NetBSD Foundation, Inc. @@ -65,6 +65,7 @@ #define FUNW(type) type ## _w #define TYPE(type) type ## W #define FSTR "%ls" +#define FSTARSTR "%.*ls" #define STR(x) L ## x #define UC(c) c #define Isalpha(x) iswalpha(x) @@ -117,6 +118,7 @@ Width(wchar_t c) #define FUNW(type) type #define TYPE(type) type #define FSTR "%s" +#define FSTARSTR "%.*s" #define STR(x) x #define UC(c) (unsigned char)(c) |
