aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/locale
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2004-08-21 08:00:31 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2004-08-21 08:00:31 +0000
commit6a4d3d68c706528c902e1214f7a3c522e33d5ea6 (patch)
treec37d5f4beae69cb1a6689103707c22a8f1bc853c /lib/libc/locale
parent5a52f3c22ca4ddc0446215dba2259eba37d2a5b2 (diff)
downloadsrc-6a4d3d68c706528c902e1214f7a3c522e33d5ea6.tar.gz
src-6a4d3d68c706528c902e1214f7a3c522e33d5ea6.zip
Re-word warning about the rune interface, taking care to use the word
"obsolete" instead of "deprecated".
Notes
Notes: svn path=/head/; revision=134106
Diffstat (limited to 'lib/libc/locale')
-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 8dbd846503ab..41ab63c8a994 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 debb26e42b8c..56730367eb74 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