diff options
author | jilles <jilles@FreeBSD.org> | 2011-05-06 22:31:27 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2011-05-06 22:31:27 +0000 |
commit | 6672b66ab789f3a873bf4afedd4e33f79c47960d (patch) | |
tree | e050eac60e8f976d2dc8403b5f48b7fee966845d /bin/sh/var.h | |
parent | d5f31a325b1e05306848b941346f144f410e2097 (diff) | |
download | FreeBSD-src-6672b66ab789f3a873bf4afedd4e33f79c47960d.zip FreeBSD-src-6672b66ab789f3a873bf4afedd4e33f79c47960d.tar.gz |
sh: Track if the current locale's charset is UTF-8 or not.
Diffstat (limited to 'bin/sh/var.h')
-rw-r--r-- | bin/sh/var.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/sh/var.h b/bin/sh/var.h index 775db41..4336562 100644 --- a/bin/sh/var.h +++ b/bin/sh/var.h @@ -81,6 +81,8 @@ extern struct var vhistsize; extern struct var vterm; #endif +extern int localeisutf8; + /* * The following macros access the values of the above variables. * They have to skip over the name. They return the null string @@ -112,6 +114,7 @@ char *lookupvar(const char *); char *bltinlookup(const char *, int); void bltinsetlocale(void); void bltinunsetlocale(void); +void updatecharset(void); char **environment(void); int showvarscmd(int, char **); int exportcmd(int, char **); |