svcadm(1M)을 검색하려면 섹션에서 1M 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
wctype(3c)
Standard C Library Functions wctype(3C)
NAME
wctype, wctype_l - define character class
SYNOPSIS
#include <wchar.h>
wctype_t wctype(const char *charclass);
wctype_t wctype_l(const char *charclass, locale_t locale);
DESCRIPTION
The wctype() and wctype_l() functions are defined for valid character
class names as defined in the current locale or in the locale repre‐
sented by locale, respectively. The charclass is a string identifying a
generic character class for which codeset-specific type information is
required. The following character class names are defined in all
locales:
tab(); lw(1.83i) lw(1.83i) lw(1.83i) alnumalphablank cntrldigitgraph
lowerprintpunct spaceupperxdigit
Additional character class names defined in the locale definition file
(category LC_CTYPE) can also be specified.
These functions return a value of type wctype_t, which can be used as
the second argument to subsequent calls of iswctype(3C) and iswc‐
type_l(3C).
The wctype() and wctype_l() determine values of wctype_t according to
the rules of the coded character set defined by character type informa‐
tion in the current locale or locale represented by locale (category
LC_CTYPE).
The values returned by wctype() are valid until a call to setlocale(3C)
that modifies the category LC_CTYPE.
The values returned by wctype_l() are valid only in calls to iswc‐
type_l() with a locale represented by locale with the same LC_CTYPE
category value.
The behavior is undefined if the locale argument to wctype_l() is the
special locale object LC_GLOBAL_LOCALE or is not a valid locale object
handle.
RETURN VALUES
The wctype() and wctype_l() functions return 0 if the given character
class name is not valid for the current locale or for locale repre‐
sented by locale, respectively (categoryLC_CTYPE); otherwise it returns
an object of type wctype_t that can be used in calls to iswctype() and
iswctype_l().
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ CSIEnabled _ Interface StabilityStandard _ MT-LevelMT-
Safe
SEE ALSO
duplocale(3C), freelocale(3C), iswctype(3C), newlocale(3C), setlo‐
cale(3C), uselocale(3C), attributes(7), standards(7)
Oracle Solaris 11.4 27 Nov 2017 wctype(3C)