共用方式為


towctrans

Transforms a character.

wint_t towctrans(
   wint_t c,
   wctrans_t category 
);

Parameters

  • c
    The character you want to transform.

  • category
    An identifier that contains the return value of wctrans.

Return Value

The character c, after towctrans used the transform rule in category.

Remarks

The value of category must have been returned by an earlier successful call to wctrans.

Requirements

Routine

Required header

towctrans

<wctype.h>

For additional compatibility information, see Compatibility in the Introduction.

Example

See wctrans for a sample that uses towctrans.

See Also

Concepts

Data Conversion