Scroll Down to See All▾
abortabsacosasctimeasctime_rasinassertatanatan2atexitatofatoiatolbsearchbtowccalloccatclosecatgetscatopenceilclearerrclockcoscoshctimectime_rdifftimediverferfcexitexpfabsfclosefdopenfeofferrorfflushfgetcfgetposfgetsfgetwcfgetwsfopenfprintffputcfputwsfreadfreefreopenfrexpfscanffseekfsetposftellfwidefwprintffwritefwscanfgetcgetchargetenvgetwcgetwchargmtimegmtime_rhypotisalnumisalphaisasciiisblankiscntrlisdigitisgraphislowerisprintispunctisspaceisupperiswalnumiswalphaiswblankiswcntrliswctypeiswdigitiswgraphiswloweriswprintiswpunctiswspaceiswupperiswxdigitisxdigitj0j1jnlabsldexpldivlocaleconvlocaltimelocaltime_rloglog10longjmpmallocmblenmbrlenmbrtowcmbsinitmbsrtowcsmbstowcsmbtowcmemchrmemcmpmemcpymemmovememsetmktimemodfnextafternextafterlnexttowardnexttowardlnl_langinfoperrorpowprintfputcputcharputenvputsputwcputwcharqsortquantexpd32quantexpd64quantexpd128quantized32quantized64quantized128samequantumd32raiserandrand_rreallocregcompregerrorregexecregfreeremoverenamerewindscanfsetbufsetjmpsetlocalesetvbufsignalsinsinhsnprintfsprintfsqrtsrandsscanfstrcasecmpstrcatstrchrstrcmpstrcollstrcpystrcspnstrerrorstrfmonstrftimestrlenstrncasecmpstrncatstrncmpstrncpystrpbrkstrptimestrrchrstrspnstrstrstrtodstrtod32strtod64strtod128strtofstrtokstrtok_rstrtolstrtoldstrtoulstrxfrmswprintfswscanfsystemtantanhtimetime64tmpfiletmpnamtoasciitolowertouppertowctranstowlowertowupperungetcungetwcva_argva_copyva_endva_startvfprintfvfscanfvfwprintfvfwscanfvprintfvscanfvsprintfvsnprintfvsscanfvswprintfvswscanfvwprintfvwscanfwcrtombwcscatwcschrwcscmpwcscollwcscpywcscpywcsftimewcslenwcsncatwcsncmpwcsncpywcspbrkwcsptimewcsrchrwcsrtombswcsspnwcsstrwcstodwcstod32wcstod64wcstod128wcstofwcstokwcstolwcstoldwcstombswcstoulwcsxfrmwctobwctombwctranswcwidthwmemchrwmemcmpwmemcpywmemmovewmemsetwprintfwscanfy0y1ynFunction Details : wctype
wctype_twctype(const char * property) ;
Return Type : wctype_t
A data type used to represent a character classification descriptor. This descriptor is used with functions like `iswctype` to test wide characters against specific character classes.
Read about return values of wctype function .
1st Parameter Type : const char *
Pointer to read-only string
1st Parameter
A string representing the name of the character classification property, such as "alpha", "digit", or "space".
Read more about parameters of wctype in parameters section
The wctypefunction in C language Returns a value representing a class of wide characters according to a property name like 'alnum', 'alpha', etc.
wctype constructs a value of type wctype_t that describes a class of wide characters identified by the string argument property. This value can be used as the second argument to the iswctype function. The wctype function determines character classes based on the LC_CTYPE category of the current locale.
The wctypefunction takes 1
parameter:Retrieves a wide-character classification descriptor corresponding to the specified property name. The descriptor can be used with `iswctype` to test wide characters against the specified classification. Returns a nonzero `wctype_t` value if the property is valid, or `0` if it is invalid.
- •const char * `property`: A string representing the name of the character classification property, such as "alpha", "digit", or "space".
The wctype function return value :
- Returns a value of type wctype_t that represents the character class described by property
- If the given property is not valid for the current locale, it returns zero
Output
This example demonstrates the basic usage of wctype to create character class descriptors and test characters against these classes.