diff options
author | julian <julian@FreeBSD.org> | 1997-09-24 20:38:12 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1997-09-24 20:38:12 +0000 |
commit | 60b0e6fbbf1a5776748be4767011d3e485732adc (patch) | |
tree | c773c2cc8f832bee4890aa75b31542b803276d8b /lib/libc/locale/isctype.c | |
parent | 176f82ad6924c1a3f56e27bd1161e134ae121875 (diff) | |
download | FreeBSD-src-60b0e6fbbf1a5776748be4767011d3e485732adc.zip FreeBSD-src-60b0e6fbbf1a5776748be4767011d3e485732adc.tar.gz |
Submitted by: Sin'ichiro MIYATANI / Phase One, Inc <siu@phaseone.co.jp>
Basic support for the Shift JIS encoding of japanese.
(and one tiny typo fixed in a comment)
Diffstat (limited to 'lib/libc/locale/isctype.c')
-rw-r--r-- | lib/libc/locale/isctype.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/locale/isctype.c b/lib/libc/locale/isctype.c index 55cfdf0..8748998 100644 --- a/lib/libc/locale/isctype.c +++ b/lib/libc/locale/isctype.c @@ -172,3 +172,11 @@ toupper(c) { return (__toupper(c)); } + +#undef digittoint +int +digittoint(c) + int c; +{ + return (__maskrune((c), 0xFF)); +} |