summaryrefslogtreecommitdiff
path: root/src/lib/libc/include
diff options
context:
space:
mode:
authorespie <>2005-08-08 05:53:01 +0000
committerespie <>2005-08-08 05:53:01 +0000
commit63dd09a8c91fcf1f022506ffd9fcf02dcb61818b (patch)
treea40171ec7c45f79ef44a5d2b2991fdaa92410578 /src/lib/libc/include
parent5cf81f9663bfb2af55273bd020c777bacc636110 (diff)
downloadopenbsd-63dd09a8c91fcf1f022506ffd9fcf02dcb61818b.tar.gz
openbsd-63dd09a8c91fcf1f022506ffd9fcf02dcb61818b.tar.bz2
openbsd-63dd09a8c91fcf1f022506ffd9fcf02dcb61818b.zip
activate LC_CTYPE for 8 bits locale.
Make sure tolower/toupper use the whole 8 bits. okay deraadt@ thanks to everyone who tested
Diffstat (limited to 'src/lib/libc/include')
-rw-r--r--src/lib/libc/include/ctype_private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/libc/include/ctype_private.h b/src/lib/libc/include/ctype_private.h
new file mode 100644
index 0000000000..39cc792ea4
--- /dev/null
+++ b/src/lib/libc/include/ctype_private.h
@@ -0,0 +1,7 @@
1/* $OpenBSD: ctype_private.h,v 1.1 2005/08/08 05:53:00 espie Exp $ */
2/* Written by Marc Espie, public domain */
3#define CTYPE_NUM_CHARS 256
4extern const char _C_ctype_[];
5extern const short _C_toupper_[];
6extern const short _C_tolower_[];
7