summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-08-21 08:00:31 +0000
committertjr <tjr@FreeBSD.org>2004-08-21 08:00:31 +0000
commit4fe778a081ef37f9db5d3ac6ec3a88d38a36affb (patch)
treec37d5f4beae69cb1a6689103707c22a8f1bc853c /lib
parent0950eb6cbaaebc285ddda64d4c88053b1645b1ef (diff)
downloadFreeBSD-src-4fe778a081ef37f9db5d3ac6ec3a88d38a36affb.zip
FreeBSD-src-4fe778a081ef37f9db5d3ac6ec3a88d38a36affb.tar.gz
Re-word warning about the rune interface, taking care to use the word
"obsolete" instead of "deprecated".
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/locale/mbrune.311
-rw-r--r--lib/libc/locale/rune.311
2 files changed, 10 insertions, 12 deletions
diff --git a/lib/libc/locale/mbrune.3 b/lib/libc/locale/mbrune.3
index 8dbd846..41ab63c 100644
--- a/lib/libc/locale/mbrune.3
+++ b/lib/libc/locale/mbrune.3
@@ -58,17 +58,16 @@
The
.Bx 4.4
.Dq rune
-functions have been deprecated in favour of the
-.Tn ISO
-C99 extended multibyte and wide character facilities
-and should not be used in new applications.
+functions are obsolete and may not be supported in future releases.
.Ef
-Consider working with wide characters instead, and using
+Applications should use the
+.Tn ISO
+C99
.Xr wcschr 3 ,
.Xr wcsrchr 3 ,
and
.Xr wcsstr 3
-instead of these functions.
+functions instead.
.Pp
These routines provide the corresponding functionality of
.Fn strchr ,
diff --git a/lib/libc/locale/rune.3 b/lib/libc/locale/rune.3
index debb26e..5673036 100644
--- a/lib/libc/locale/rune.3
+++ b/lib/libc/locale/rune.3
@@ -73,12 +73,11 @@
The
.Bx 4.4
.Dq rune
-functions have been deprecated in favour of the
-.Tn ISO
-C99 extended multibyte and wide character facilities
-and should not be used in new applications.
+functions are obsolete and may not be supported in future releases.
.Ef
-Consider using
+Applications should use the
+.Tn ISO
+C99
.Xr setlocale 3 ,
.Xr mbrtowc 3 ,
.Xr wcrtomb 3 ,
@@ -86,7 +85,7 @@ Consider using
.Xr ungetwc 3 ,
and
.Xr fputwc 3
-instead.
+functions instead.
.Pp
The
.Fn setrunelocale
OpenPOWER on IntegriCloud