char* is the old 'C' way to reference c strings. Back before people were taught that pointers were the cause of Covid.
Try..
eatStr("my String");
The compiler will bark warnings abut this and that. But it should work wonderfully. And pretty quick too.
-jim lee