diff options
author | tjr <tjr@FreeBSD.org> | 2004-08-21 07:37:08 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2004-08-21 07:37:08 +0000 |
commit | a8cee78a82c4753bab318a8e4f51bee66c4f694e (patch) | |
tree | 6383bdb99ca26798ca5a359531d4c6653a5da38b /lib/libc/locale/toupper.3 | |
parent | 6c3a896977f28b2aaf58efc0ee3f3d95af783ff7 (diff) | |
download | FreeBSD-src-a8cee78a82c4753bab318a8e4f51bee66c4f694e.zip FreeBSD-src-a8cee78a82c4753bab318a8e4f51bee66c4f694e.tar.gz |
Re-word compatibility section, taking care to use the word "obsolete" to
describe the 4.4BSD extension of accepting characters (runes) outside of
the range of unsigned char.
Diffstat (limited to 'lib/libc/locale/toupper.3')
-rw-r--r-- | lib/libc/locale/toupper.3 | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/lib/libc/locale/toupper.3 b/lib/libc/locale/toupper.3 index 9d6d3ba..d3008232 100644 --- a/lib/libc/locale/toupper.3 +++ b/lib/libc/locale/toupper.3 @@ -36,7 +36,7 @@ .\" @(#)toupper.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd October 3, 2002 +.Dd August 21, 2004 .Dt TOUPPER 3 .Os .Sh NAME @@ -68,16 +68,15 @@ If the argument is a lower-case letter, the function returns the corresponding upper-case letter if there is one; otherwise the argument is returned unchanged. .Sh COMPATIBILITY -Although -.Fn toupper -accepts arguments outside of the range of the -.Vt "unsigned char" -type in locales with large character sets, -this is a +The .Bx 4.4 -extension and the +extension of accepting arguments outside of the range of the +.Vt "unsigned char" +type in locales with large character sets is considered obsolete +and may not be supported in future releases. +The .Fn towupper -function should be used instead for maximum portability. +function should be used instead. .Sh SEE ALSO .Xr ctype 3 , .Xr isupper 3 , |