Quote Originally Posted by laserlight View Post
I had the impression that since a string literal is returned that is not so due to static storage duration.
Yes, it is correct.
However, since the OP wrote this "string literal" as "Some text" I was (and still am) afraid, this function is supposed to return any text somehow generated there...