wcsrev

Reverses the character order in a wide-character string.

Library:LibC
Classification:Other
Service:Characters and Strings

Syntax

  #include <wchar.h> 
   
  wchar_t  *wcsrev (
     wchar_t   *ws1);
  

Parameters

ws1

(IN) Points to the string to reverse.

Return Values

Returns a pointer to the altered string.

Remarks

The wcsrev function replaces the string ws1 with a string whose characters are in the reverse order.