.Dt NEXTWCTYPE 3
.Os
.Sh NAME
-.Nm nextwctype
+.Nm nextwctype ,
+.Nm nextwctype_l
.Nd "iterate through character classes"
.Sh LIBRARY
.Lb libc
.In wctype.h
.Ft wint_t
.Fn nextwctype "wint_t ch" "wctype_t wct"
+.In xlocale.h
+.Ft wint_t
+.Fn nextwctype_l "wint_t ch" "wctype_t wct" "locale_t loc"
.Sh DESCRIPTION
The
.Fn nextwctype
.Fa ch
is \-1, the search begins at the first member of
.Fa wct .
+.Pp
+While the
+.Fn nextwctype
+function uses the current locale, the
+ .Fn nextwctype_l
+function may be passed a locale directly. See
+.Xr xlocale 3
+for more information.
.Sh RETURN VALUES
The
.Fn nextwctype
.Fn iswctype
function would suffice.
.Sh SEE ALSO
-.Xr wctype 3
+.Xr wctype 3 ,
+.Xr xlocale 3
.Sh HISTORY
The
.Fn nextwctype