Lstrrev

Reverses the character order in a string.

Library:LibC
Classification:Other
Service:Characters and Strings

Syntax

  #include <string.h> 
   
  char *Lstrrev (
     char   *s1);
  

Parameters

s1

(IN) Points to the string to reverse.

Return Values

Returns a pointer to the altered string.

Remarks

The Lstrrev function is a double-byte character interface. It replaces the string s1 with a string whose characters are in the reverse order.