From 111bf5f2adbdb502f39bba488b8fdf250b4a92c9 Mon Sep 17 00:00:00 2001 From: tjr Date: Sun, 17 Jul 2005 03:37:00 +0000 Subject: Remove confusing "single C char locales" phrase; arguments to tolower() and toupper() must now be either an unsigned char or EOF, regardless of locale. --- lib/libc/locale/toupper.3 | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'lib/libc/locale/toupper.3') diff --git a/lib/libc/locale/toupper.3 b/lib/libc/locale/toupper.3 index d3008232..381f080 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 August 21, 2004 +.Dd July 17, 2005 .Dt TOUPPER 3 .Os .Sh NAME @@ -53,13 +53,8 @@ The .Fn toupper function converts a lower-case letter to the corresponding upper-case letter. -For single C -.Va char Ns s -locales (see -.Xr multibyte 3 ) -the value of the argument is -representable as an -.Li unsigned char +The argument must be representable as an +.Vt unsigned char or the value of .Dv EOF . .Sh RETURN VALUES @@ -80,7 +75,6 @@ function should be used instead. .Sh SEE ALSO .Xr ctype 3 , .Xr isupper 3 , -.Xr multibyte 3 , .Xr towupper 3 .Sh STANDARDS The -- cgit v1.1