strrev()

Reverses a null-terminated string.

  #include <extras/extras_string.h>
  
  char * strrev(char *str);    
Parameter

str

A pointer to the null-terminated string to reverse.

Remarks

This function reverses the null-terminated string at str and returns a pointer to it.

This facility is not specified in the ISO/IEC standards. It is an EWL extension of the standard libraries.