root/test/unit/strrev/cmd.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. main

   1 #include <stdio.h>
   2 #include "cmem.h"
   3 
   4 int main()
   5 {
   6     char *src[] = {"abcdefghij", "abcde"};
   7     char *dst = NULL;
   8 
   9     for(unsigned i = 0; i < ARRAYSIZE(src); i++) {
  10         dst = strrev(src[i]);
  11         puts(dst);
  12         FREE(dst);
  13     }
  14     return 0;
  15 }

/* [<][>][^][v][top][bottom][index][help] */