unirev(3nw)


unirev -- reverses order of characters in string, except for terminating null

Synopsis

   #include <unicode.h> 
   

unicode N_FAR *N_API unirev (unicode N_FAR * s);

Description

The parameters are as follows:

s
(OUT) Points to the string to reverse.

Return values

Pointer to the reversed string.

Notices

After calling unirev, the original contents of s are replaced by the reversed string. The terminating null character is not reversed. For example, unirev changes ``string'' to ``gnirts''.

unirev corresponds to C strrev.

Services

Unicode

NCP calls

None
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.