Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      wctrans

      From cppreference.com
      <c‎ |string‎ |wide
       
       
       
      Null-terminated wide strings
       
      Defined in header<wctype.h>
      wctrans_t wctrans(constchar* str);
      (since C95)

      Constructs a value of typewctrans_t that describes aLC_CTYPE category of wide character mapping. It may be one of the standard mappings, or a locale-specific mapping, such as"tojhira" or"tojkata".

      Contents

      [edit]Parameters

      str - C string holding the name of the desired mapping.

      The following values ofstr are supported in all C locales:

      Value ofstr Effect
      "toupper" identifies the mapping used bytowupper
      "tolower" identifies the mapping used bytowlower

      [edit]Return value

      wctrans_t object suitable for use withtowctrans to map wide characters according to the named mapping of the current C locale or zero ifstr does not name a mapping supported by the current C locale.

      [edit]References

      • C23 standard (ISO/IEC 9899:2024):
      • 7.30.3.2.2 The wctrans function (p: TBD)
      • C17 standard (ISO/IEC 9899:2018):
      • 7.30.3.2.2 The wctrans function (p: TBD)
      • C11 standard (ISO/IEC 9899:2011):
      • 7.30.3.2.2 The wctrans function (p: 454)
      • C99 standard (ISO/IEC 9899:1999):
      • 7.25.3.2,2 The wctrans function (p: 400)

      [edit]See also

      performs character mapping according to the specifiedLC_CTYPE mapping category
      (function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=c/string/wide/wctrans&oldid=153719"

      [8]ページ先頭

      ©2009-2025 Movatter.jp