unirev

Reverses the character order in a string.

Library:LibC
Service:Characters and Strings

Syntax

  #include <unilib.h> 
   
  unicode_t *unirev (
     unicode_t   *base);
  

Parameters

base

(IN) Points to the string to be reversed.

Return Values

Returns the address of the original string, base.

Remarks

The unirev function replaces the base string with a string whose characters are in the reverse order.

The unirev corresponds to the strrev function.

See Also

unistr