summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/mbrune.3
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-09-18 06:11:21 +0000
committertjr <tjr@FreeBSD.org>2002-09-18 06:11:21 +0000
commit7eb8c7cf9aa4aa5eb76d14d7b7b0778c3bdb95cc (patch)
tree999249bafd16b28b7b2f1c9a370b7e35ec7a53bb /lib/libc/locale/mbrune.3
parent5bb288ec923336fc582dae1b5ee61a4965037b5f (diff)
downloadFreeBSD-src-7eb8c7cf9aa4aa5eb76d14d7b7b0778c3bdb95cc.zip
FreeBSD-src-7eb8c7cf9aa4aa5eb76d14d7b7b0778c3bdb95cc.tar.gz
Mark mbmb(), mbrune(), and mbrrune() as deprecated functions. We want to
get applications to move to the ISO C interfaces as well as have the freedom to replace the rune interfaces with ones that support stateful conversions some time in the future.
Diffstat (limited to 'lib/libc/locale/mbrune.3')
-rw-r--r--lib/libc/locale/mbrune.316
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libc/locale/mbrune.3 b/lib/libc/locale/mbrune.3
index 7228f7a..8e0aa08 100644
--- a/lib/libc/locale/mbrune.3
+++ b/lib/libc/locale/mbrune.3
@@ -54,6 +54,22 @@
.Ft char *
.Fn mbmb "const char *string" "char *pattern"
.Sh DESCRIPTION
+.Bf Em
+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.
+.Ef
+Consider working with wide characters instead, and using
+.Xr wcschr 3 ,
+.Xr wcsrchr 3 ,
+and
+.Xr wcsstr 3
+instead of these functions.
+.Pp
These routines provide the corresponding functionality of
.Fn strchr ,
.Fn strrchr
OpenPOWER on IntegriCloud