.\" SUCH DAMAGE.
.\"
.\" @(#)mbrune.3 8.2 (Berkeley) 4/19/94
-.\" $FreeBSD: src/lib/libc/locale/mbrune.3,v 1.6.2.4 2001/12/14 18:33:54 ru Exp $
+.\" $FreeBSD: src/lib/libc/locale/mbrune.3,v 1.15 2003/02/06 11:04:46 charnier Exp $
.\"
.Dd April 19, 1994
.Dt MBRUNE 3
.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
function locates the first occurrence of
.Fn rune
in the string pointed to by
-.Ar string .
+.Fa string .
The terminating
.Dv NUL
character is considered part of the string.
if the
.Fa pattern
does not appear in the string.
-.Sh "SEE ALSO
-.Xr mbrune 3 ,
+.Sh SEE ALSO
.Xr rune 3 ,
.Xr setlocale 3 ,
.Xr euc 4 ,
-.Xr utf2 4
+.Xr utf2 4 ,
+.Xr utf8 5
.Sh HISTORY
The
.Fn mbrune ,