My question is about this question. We know that $f$ is differentiable on $(0,\infty)$ and $f(x)$ has a finite limit (let's say $L$) as $x\to\infty.$ My exact question is if we really need the assumption that $f'(x)$ has a finite limit as $x\to\infty.$
We can apply the mean value theorem to $f$ on the interval of the form $[n,n+1].$ Then, we have that there is a $x_n \in (n,n+1)$, such that: $$f'(x_n) = \frac{f(n+1) - f(n)}{(n+1) - n}= f(n+1) - f(n).$$ Now let $n\to \infty$. Then $\lim\limits_{n\to\infty} f(n+1) = \lim\limits_{n\to\infty} f(n) = L$, thus $\lim\limits_{n\to\infty}f'(x_n) = 0,$ with $x_n\overset{n\to\infty}{\longrightarrow}\infty.$
There is always the case I might miss something.