projects
/
YACASL2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9c9eba7f8742f8b9240a89f6b32d112138d2327b
[YACASL2.git]
/
test
/
unit
/
strrev
/
cmd.c
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
}